DELETE
/
v1
/
orders
/
{id}
curl --request DELETE \
  --url https://sandbox.api.24hourinspections.com/v1/orders/{id} \
  --header 'Authorization: Bearer <token>'
{}

Please Note:

  • An order can only be canceled if it is in one of the following cancellable statuses: New, Scheduling, Scheduled, Re-Scheduling, or Re-Scheduled.
  • If the order is already in a Completed or Canceled state, it cannot be canceled.
  • You will not be charged for canceled orders.
  • The webhook provided during the order creation will be triggered upon successful cancellation to notify the system of the change.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

204 - application/json
Soft delete a single record

The response is of type any.