cURL
curl --request POST \ --url https://api.example.com/store/return-request \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "order_id": "<string>", "customer_note": "<string>", "shipping_option_id": "<string>", "line_items": [ { "line_item_id": "<string>", "quantity": 123, "reason_id": "<string>" } ] } '
{ "order_return_request": { "id": "<string>", "customer_id": "<string>", "customer_note": "<string>", "vendor_reviewer_id": "<string>", "vendor_reviewer_note": "<string>", "vendor_reviewer_date": "2023-11-07T05:31:56Z", "admin_reviewer_id": "<string>", "admin_reviewer_note": "<string>", "admin_reviewer_date": "2023-11-07T05:31:56Z", "status": "pending", "order": { "id": "<string>" }, "line_items": [ { "id": "<string>", "line_item_id": "<string>", "quantity": 123 } ], "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } }
Creates a new order return request for the authenticated customer
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
A schema for the creation of order return request.
ID of the order
Customer note.
ID of the shipping option
Array of items to return
Show child attributes
Created
A return request object with its properties