order
order.return.update
Update order's shipment information.
put/order.return.update.json
Request
- Base URL: https://api.api2cart.com/v1.1
- URL: https://api.api2cart.com/v1.1/order.return.update.json
- Auth: API key in header x-api-key and API key in header x-store-key
Request body
Example request
{
"return_id": "200000002",
"store_id": "1",
"item_restock": true,
"return_status_id": "RETURNED",
"return_reason_id": "broken",
"return_action_id": "RETURNED",
"staff_note": "Test",
"comment": "This coole order",
"message": "Update note for the return.",
"send_notifications": true,
"reject_reason": "ORDER_UNPAID",
"return_action": "refund",
"return_reason": "broken",
"fee_price": 5.5,
"shipping_price": 5.5,
"idempotency_key": "098f6bcd4621d373cade4e832627b4f6",
"order_products": [
{
"order_product_id": "125, where {x} - 1,2,3,... etc",
"order_product_status": "pending",
"order_product_action_id": "REFUND, where {x} - 1,2,3,... etc"
}
]
}Response
successful operation
Changes
No recorded changes to this operation across all 1 revision of this API.