POST
/fbt/202602/inbound_orders/cancel
This API is used to cancel one inbound order per request prior to warehouse arrival, preventing further processing and updating the order status.
If the inbound order is part of a D2FC inbound plan, call this API separately for every order under the plan. Otherwise, non-compliance fees may be charged.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”shop_cipher
required
string
Identifies the shop. Obtain it from the Get Authorized Shops API.
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
order_id
required
The positive numeric identifier of the inbound order to cancel.
Note: Provide the numeric sequence only; do not include the “IBR” prefix (for example, use 123456 instead of IBR123456).
string
cancel_reason
required
Reason for cancelling the inbound order. The value must not be empty or contain only whitespace.
string
Example
{ "order_id": "5766071177167344427", "cancel_reason": "Order created by mistake."}Responses
Section titled “Responses”Success
Media typeapplication/json
object
code
Status code; 0 means success.
integer format: int64
message
Success or failure message.
string
request_id
Request log ID.
string
data
object
Example
{ "code": 0, "data": {}, "message": "Success", "request_id": "202203070749000101890810281E8C70B7"}