POST
/
v1
/
orders
/
{order_id}
/
case
Create or Update Case
curl --request POST \
  --url https://api.zinc.io/v1/orders/{order_id}/case \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "reason": "return.request_label",
  "message": "<string>"
}'
{
  "state": "open",
  "messages": [
    {
      "type": "case.opened.return.request_label",
      "message": "<string>",
      "timestamp": "2023-11-07T05:31:56Z"
    }
  ]
}
Cases are for Zinc Managed Account (ZMA) orders only. Self-managed account orders should handle issues directly with the retailer.
Add a message to an existing case to provide updates or additional information.
Do not include the reason field when updating a case - send only the message.
Check the case status regularly using the Retrieve Case endpoint for updates from Zinc support.

Authorizations

Authorization
string
header
required

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

Path Parameters

order_id
string
required

The order ID to create or update a case for

Body

application/json

Response

200 - application/json

Case created or updated successfully

The response is of type object.