取消面单

详细字段参考以英文显示;字段名和 API 值保持不变。

POST
/api/shipping/refund

请求

id
Integer · No
Unique identifier for the shipping label.
client_reference_id
String · No
Customer Unique Reference ID.
{
  "id": 12345
}

返回结果

id
Integer
Unique identifier for the shipping label.
refund_status
String
Refund status of the shipping label.

V1 responses use the original endpoint-specific JSON structure. Do not wrap them in the V2 code/message/data envelope.

接入说明

Provide id (the V1 shipment ID) or client_reference_id. The controller prefers id when both are supplied. A missing shipment or an already-submitted refund is an error; a successful request returns id and refund_status, not a promise of settled credit.