1. 主页
  2. 文档
  3. REST API port
  4. Orders
  5. PUTCancel an order

PUTCancel an order

Cancel an order.

API:PUT/rest/api/2021-07/orders/cancel

Parameters


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)