POST
/
v1
/
orders
/
{request_id}
/
return
Create Return
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>"
}

Authorizations

Authorization
string
header
required

Use your client token as the username. Leave the password blank.

Path Parameters

request_id
string
required

The request id of the original order

Body

application/json

Response

200 - application/json

Return created successfully

The response is of type object.