Skip to main content

Cancel an order

DELETE/client_api/v2/orders/{id}

Cancels an order that has not gone live yet. Otherwise the call answers 422.

Path parameters

  • idintegerRequired

    The order's id.

    Read the ids from List orders in the environment you are calling: they differ between the sandbox and production.

Returns

Returns the result.

Errors

  • 401Unauthorized
    The token is missing, expired or invalid. Sign in again.
View as Markdown
DELETE /client_api/v2/orders/{id}
1curl -X DELETE "https://sandbox-api.vatit-stream.com/client_api/v2/orders/23" \
2 -H "Authorization: Bearer $API_TOKEN"
Response
{
"success": true,
"error": "",
"errors": []
}
API ExplorerSandbox

Pick a call on the right and run it. Every call goes to the sandbox, so nothing is really shipped or charged. The answer appears here.