v1
latestOpenAPI 3.0.02026-07-244074117.0 KBOrders
Create an order adjustment
Create an adjustment (eg. refund) for an order.
post/v4/orders/{orderId}/adjustments
Path parameters
orderIdstring required
The Slope order ID or the partner external order ID
Request body
Example request
{
"externalId": "ext_ordadj_123",
"refund": {
"amount": 1000
}
}Response
The created adjustment
Example response
{
"id": "ordadj_123",
"orderId": "ord_123",
"externalOrderId": "ext_ord_123",
"externalId": "ext_order_adjustment_123",
"refund": {
"amount": -1000,
"merchantFee": -100
}
}