Close Order

Last Updated on : 2024-01-12 02:38:55download

Close a specified order based on the order ID.

API address

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

Request parameter

Parameter nameTypeINRequiredDescription
order_idStringuritrueThe order ID.
mall_codeStringquerytrueThe code of a specified mall.
site_codeStringquerytrueThe code of a specified site.

Return parameter

Parameter nameTypeDescription
resultBooleanThe returned result.

Request example

PUT: /v1.0/sellercenter/order/close/{order_id}?mall_code=MALL_CODE&uid=UID&site_code=SITE_CODE

Return example

{
    "result": true,
    "t": 1633765734579,
    "success": true
}

Error code

For more information, see error code.