Cancel an order.
API:PUT/rest/api/2021-07/orders/cancelParameters
Parameters
Data Type
Required
id
integer
required
Order ID。
amount
number
required
Refund amount.
is_refund
integer
required
Refund or not.(1: Refund ,2: Refund later)
cancel_reason
integer
required
Cancellation Reason.(1: Customer changed/cancelled order, 2: Fraudulent order, 3: Commodity not possible, 4: Payment rejected, 5: Other)