Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

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

Headers

fwdorigin
enum<string>
default:DISPATCH_API
required
Available options:
DISPATCH_API

Path Parameters

serviceOrderId
number<float>
required

Body

application/json
message
string | null
required
type
enum<string>
required
Available options:
CUSTOM,
CANCELED_VIA_DOORDASH,
CANCELED_VIA_CHANGE_HANDLING,
CANCELED_VIA_CLOSURES,
MISSED_PICKUP,
NO_LONGER_NEEDED,
BY_MISTAKE,
DELIVERY_ISSUE,
CUSTOMER_NOT_AT_HOME,
BY_CUSTOMER_VIA_DRIVER,
BY_OPERATOR

Response

The order canceled

The response is of type boolean.