cURL
curl --request POST \ --url https://api.sibipro.com/orders/orders/{id}/cancel \ --header 'Content-Type: application/json' \ --data '{ "reason": "Customer requested a cancellation" }'
{ "cancellationStatus": "pending", "cancellationReason": "Customer requested a cancellation", "requestedAt": "2024-01-20T12:00:00Z" }
This route is deprecated. Use /orders/{id}/cancel instead.
/orders/{id}/cancel
The ID of the order to cancel
Order cancellation request created successfully
The response is of type object.
object