---
title: "Attach tracking and trigger a tracking sync"
method: POST
path: "/v1/orders/{orderId}/tracking"
---

# Attach tracking and trigger a tracking sync

`POST /v1/orders/{orderId}/tracking`

## Request

- Base URL: `https://buyingmesh.com`
- URL: `https://buyingmesh.com/v1/orders/{orderId}/tracking`
- Auth: none declared

## Path parameters

- `orderId` string, uuid, required

## Request body

- object
  - `carrier` 'kuaidi100' | '17track' | 'other', required
  - `provider` string: Provider adapter. Defaults to carrier.
  - `carrierCode` string: Optional carrier code used by the provider.
  - `trackingNumber` string, required

## Response `202`

Async sync accepted

- Order
  - `id` string, uuid, required
  - `status` 'confirmed' | 'shipped' | 'tracking_updated' | 'eta_updated' | 'delivered' | 'accepted' | 'released' | 'disputed' | 'cancelled', required
  - `tracking` object, nullable
  - `supplier` object
    - `supplierId` string, nullable
    - `supplierName` string, nullable
    - `supplierSlug` string, nullable
  - `supplierIds` string[]
  - `agent` object, nullable
  - `items` object[]
  - `testMode` boolean
  - `eta` string, date-time, nullable
  - `events` object[], required
    - `type` string
    - `occurredAt` string, date-time
  - `payment` object, required
    - `status` string
    - `gross` number
    - `platformFee` number
    - `sellerNet` number
    - `currency` string

---

[API](https://skmtc.dev/buyingmesh/apis/buyingmesh-procurement-api.md) · [All operations](https://skmtc.dev/buyingmesh/apis/buyingmesh-procurement-api/llms.txt) · [OpenAPI document](https://skmtc.dev/buyingmesh/apis/buyingmesh-procurement-api/revisions/370360c1315c?raw)
