cURL
curl --request POST \ --url https://api.bonifiq.com.br/v1/pvt/POS/orders/{orderId}/cancel \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "OrderCancelledDate": "2023-11-07T05:31:56Z", "OrderStatus": "<string>" } '
{ "ErrorMessage": "<string>", "ErrorCode": 123, "Result": { "isCanceled": true, "UpdatedAt": "2023-11-07T05:31:56Z", "Status": 0 }, "HasError": true }
When an order is cancelled BonifiQ will remove the points from customer (if they have been already given)
Use API Basic Auth Keys
Order cancel request body
Date when the order has been cancel.
Order status.
Error message or description
Optional error code, if available
Show child attributes
If true the order was found and Cancelled
The time the order was canceled
0
1
2
3
4
If true the request had an error.
Was this page helpful?