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.

Path Params
string
required

The unique identifier of the order.

To refund a Pay After Delivery partial shipment:

  • 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.

Body Params
Responses

Language
Credentials
Query
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json