PUT
/
v1
/
orders
/
{orderId}
/
cancel
Cancel Order
curl --request PUT \
  --url https://api.roastify.app/v1/orders/{orderId}/cancel \
  --header 'x-api-key: <api-key>'
{
  "message": "Order canceled successfully"
}

Authorizations

x-api-key
string
header
required

The API key to authenticate requests provided by Roastify. A Base or Pro plan is required to use the API.

Path Parameters

orderId
string
required

The Id of the order

Minimum length: 1
Example:

"1ef87e47-266e-466f-ab06-a64994aefbb0"

Response

200
application/json

Order canceled successfully

The response is of type object.