v1
latestOpenAPI 3.1.02026-07-24290159.6 KBRefunds
Refund order
Process a full or partial refund for an order.
Refunding creates a new order linked to the original order. By default, it has the same order_id as the original order. To override this, include in the request refund_order_id.
post/orders/{order_id}/refunds
Path parameters
order_idstring required
The unique identifier of the order.
- Before shipment: Refund the whole order using the invoice order order_id.
- After shipment: Refund specific partial shipments using the shipment order_id returned in the Partially ship order response.
Max length: 50 characters.
Request body
Response
Request successful