cURL
curl --request POST \ --url https://api.zinc.io/v1/orders/{request_id}/return \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data '{ "products": [ { "product_id": "<string>", "quantity": 123 } ], "reason_code": "<string>", "method_code": "<string>", "explanation": "<string>", "webhooks": { "request_succeeded": "<string>", "request_failed": "<string>" }, "cancel_pending": true, "return_address": {} }'
{ "request_id": "<string>" }
Start a return for an order
Use your client token as the username. Leave the password blank.
The request id of the original order
Return created successfully
The response is of type object.
object