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
- 401UnauthorizedThe token is missing, expired or invalid. Sign in again.
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": []}