1. 主页
  2. 文档
  3. REST API port
  4. Orders
  5. POST Creates a refund

POST Creates a refund

Creates a refund.

API:POST/rest/api/2021-07/orders/refund

Parameters


Parameters
Data Type
required

id
integer
required

Order ID.


amount
number
required

Refund amount.


freight_amount
number

Freight.


refund_reason
string

Reason for refund.


is_notice_customer
integer
required

Whether to send notifications to customers.(1:yes,2:no)


data
object

Refund data.({[{‘is_push_stock’:”,’type’:”,’op_id’:”,’quantity’:”,’delivery_sn’:”},{}]},is_push_stock: Whether to repository (0: No, 1: Yes), type: Is it shipped (1: not shipped, 2: shipped), op_id: Order item ID, quantity: Quantity of refunded goods, delivery_sn: Shipment number, optional)