取消面單

詳細欄位參考以英文顯示;欄位名稱和 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.