Dispatch An Order

Last Updated on : 2023-06-15 05:56:28

Dispatch all commodities in an order. Only one order can be dispatched at a time.

API address

PUT: /v1.0/sellercenter/order/deliver/{order_id}

Request parameter

Parameter name Type IN Required Description
order_id String true The ID of a specified order. This is a URL parameter, rather than a body parameter.
mall_code String true The code of a specified mall.
site_code String true The code of a specified country or region.
logistics_code String true The code of a specified logistics company.
logistics_no String true The logistical tracking number.

Return parameter

Parameter name Type Description
result Boolean The returned result.

Request example

PUT: /v1.0/sellercenter/order/deliver/{order_id}
{
  "mall_code": "M93b1qxfaj***",
  "site_code": "US",
  "logistics_code": "bpost",
  "logistics_no": "433111A21***"
}

Return example

{
    "tid": "e1f1f173099c11edad2342cd75736***",
    "result": true,
    "t": 1658480493082,
    "success": true
}

Error code

For more information, see error code.

Error code Error message Description
2000000 params error Parameter error.
2001000 shop does not exist The store does not exist.
2005001 order not found The order does not exist.
2005002 order status invalid The order status is invalid. The order status is not pending for dispatch.
2007001 delivery failed Failed to dispatch the order.