Review COD Order

Last Updated on : 2024-01-12 02:41:11download

Review a cash on delivery (COD) order. Only one order can be reviewed at a time.

API address

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

Request parameter

Parameter nameTypeINRequiredDescription
order_idStringurltrueThe ID of a specified order to be reviewed. This is a URL parameter, rather than a body parameter.

Description of body

Parameter nameTypeINRequiredDescription
mall_codeStringbodytrueThe code of a specified mall.
site_codeStringbodytrueThe code of a specified site. The site hereunder refers to a country.
audit_resultStringbodytrueThe review result. Valid values:
  • pass: The order is approved.
  • reject: The order is rejected.

Return parameter

Parameter nameTypeDescription
resultBooleanThe returned result.

Request example

PUT: /v1.0/sellercenter/order/audit/SO2206164TSBM***
{
  "mall_code": "SO2206164TSBM***",
  "site_code": "US",
  "audit_result": "pass"
}

Return example

{
    "tid": "f8c9e03908cf11ed81c1da76058be***",
    "result": true,
    "t": 1658392484570,
    "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.
2005006not a cod orderThis is not a COD order.
2005007order audit failedFailed to review the order.