Referencia del puente Java

Este enlace antiguo sin versión describe los tres endpoints del puente Java con clave API. No es la API JWT de V1 ni la nueva API de recursos V2. Selecciona la versión de tu integración.

API para desarrolladores

Solicitar la cancelación de una etiqueta

Esta referencia está disponible en inglés y chino simplificado. A continuación se muestra el contenido en inglés.

POST
/v1/shipping/refund

Permisos: labels.buy

Campos de solicitud

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

Respuesta

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.