Skip to content
WincoradevelopersBack to Wincora
API v1
TENANT API · V1

Create cancellation requests

Reason + ETag returns applied cancellation or tracked request.

POST/api/v1/tenant/orders/{id}/cancellation-requests

Authorization

Use a server-side API key with the listed grants and permitted resource access.

orders:cancel

Request headers

X-Api-Keyrequired
Your server-side integration credential.
Idempotency-Keyrequired
Stable key for this intended action. Reuse it for retries of the same request.
If-Matchrequired
Current ETag for the resource being changed. A stale version returns 412.
Content-Typeapplication/json
Encode the request body as JSON.

Path parameters

idstring · required
Opaque identifier in the authorized resource scope. Nested identifiers must belong to their parent resource.

Request body

reasonstring · required
A clear reason for this action, retained in the audit history.

Response

201Created

Returns the authorized resource or result for this operation. List results use items, nextCursor, and hasMore.

Errors

Authentication failures return 401 or 403. Inaccessible resources return 404. Business and idempotency conflicts return 409. Rate limits return 429 with retry guidance.

Error handling guide
Search the developer documentation
↑↓ NavigateEnter OpenEsc Close
Explore documentation