Java 相容橋接參考

這個舊的無版本文件連結說明 Java 的三個 API Key 橋接介面,不是原 V1 JWT API,也不是新 V2 資源 API。請按既有整合選擇版本。

開發者 API

申請取消面單

目前參考正文提供英文與簡體中文;以下顯示英文內容。

POST
/v1/shipping/refund

權限: labels.buy

請求欄位

shippingAccountIdThe shipping account used to purchase the label.
shipmentId, trackingNumberThe shipment identifier and tracking number returned when the label was purchased.

回傳結果

Returns accepted, refundId and message. Review the result before treating a cancellation as successful. Availability and refund timing depend on the carrier and label status.

Responses use { code, message, data }. Check both the HTTP status and response code; provider errors are not successful purchases.


上一篇購買面單