Dispatch An Order

Last Updated on : 2024-01-12 02:40:19download

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 nameTypeINRequiredDescription
order_idString trueThe ID of a specified order. This is a URL parameter, rather than a body parameter.
mall_codeString trueThe code of a specified mall.
site_codeString trueThe code of a specified country or region.
logistics_codeString trueThe code of a specified logistics company.
logistics_noString trueThe logistical tracking number.

Return parameter

Parameter nameTypeDescription
resultBooleanThe 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 codeError messageDescription
2000000params errorParameter error.
2001000shop does not existThe store does not exist.
2005001order not foundThe order does not exist.
2005002order status invalidThe order status is invalid. The order status is not pending for dispatch.
2007001delivery failedFailed to dispatch the order.