Reject Order (🚧 in development)
POST/order/reject
Cancel a paid order. This call is only possible for order with status is in_progress
, the payments
array within the response of the Retrieve Order Details contain payment item. Refer to the Order Actions and Conditions.
Request​
- application/json
Body
Order parameters
shopId integerrequired
ID of the shop where the order is placed. How to get your shopId
orderNumber stringrequired
Unique code identifying the specific order.
Responses​
- 200
- 400
Order cancellation successful
- application/json
- Schema
- Example (from schema)
Schema
data object
orderNumber stringrequired
Unique code identifying the specific order.
operationType stringrequired
Possible values: [reject
]
Operations type
{
"data": {
"orderNumber": "OREDER-324234",
"operationType": "reject"
}
}
Error
- application/json
- Schema
- Example (from schema)
Schema
code stringrequired
Error code
title stringrequired
Detailed error description
detail string
Additional information about the error
{
"code": "401",
"title": "Input data validation error",
"detail": "Parameter AAAA is required"
}
Loading...