Purpose
Send a simple status update to mark an order as ignored.
HTTP Request
PUT https://integrations.clopos.com/open-api/v2/orders/{id}
Path Parameters
Unique identifier of the order.
Request Body
| Field | Type | Required | Description |
|---|
status | string | ✓ | Set to IGNORE to cancel the order. |
Request Example
curl --location --request PUT 'https://integrations.clopos.com/open-api/v2/orders/108' \
--header 'Content-Type: application/json' \
--header 'x-token: oauth_example_token' \
--data '{
"status": "IGNORE"
}'
Response
200 OK — Order updated
{
"success": true,
"data": {
"id": 108,
"status": "IGNORE"
},
"timestamp": "2025-10-23 14:13:09",
"unix": 1761211989
}
400 Bad Request — Invalid status
{
"success": false,
"error": "validation_failed",
"message": "Status is not allowed"
}
Notes
- Request body must include only the status field as shown.