[Order] Cancel Long Pending Shipment Orders
Cancel Orders Still in the [Waiting for Seller to Confirm Shipment] Status After 1 Hour
This interface is an asynchronous interface. You need to determine whether the cancellation is successful according to the order details.
Attention1: The current interface request limit is 10 times per second.
Attention2: Only orders with order status 2 (Waiting for Seller to Confirm Shipment) can be cancelled
HTTP request
POST /market/open_api/request/?action=merchant.order.buy.cancel HTTP/1.1
Content-Type: application/json
Content-Length: 262
Host: localhost:8080
{
"apiKey" : "ft8CxQvvOGxpXVJcMhgZ",
"orderId":"4020241105113720987465"
}
Table 4. Request fields
Path
Type
Description
apiKey
String
api key
orderId
String
Platform Order Number
HTTP response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 181
{
"code": 0,
"message": "SUCCESS",
"data": {
"result": "The transaction is currently being cancelled"
}
}
Table 5. Response fields
Path
Type
Description
message
String
Response Message.
code
Number
Response code.
data
Array
Actual data.
data.result
String
cancel description
Last updated