cURL
curl --request POST \ --url https://api.example.com/vendor/return-request/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "vendor_reviewer_note": "<string>", "status": "refunded" } '
{ "orderReturnRequest": { "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" } }
Updates a request by id for the authenticated vendor.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the Request.
A schema for the update of order return request.
Reviewer note.
A status of the request
refunded
withdrawn
escalated
OK
A return request object with its properties
Show child attributes