Skip to main content
PATCH
Update a webhook endpoint

Authorizations

Authorization
string
header
required

OAuth 2.0 client credentials. Send the token in the header Authorization: Bearer <token>.

Scopes

webhooks:manage

Manage webhook endpoints.

Path Parameters

endpoint_id
string
required

Body

application/json
url
string<uri>
required

Must be HTTPS.

events
enum<string>[]
required
Available options:
order.created,
order.updated,
order.cancelled,
item.availability_changed,
store.status_changed,
channel.sync_completed,
recall.created,
recall.lifted,
job.completed,
export.completed,
payout.created,
menu.published,
promotion.status_changed,
order.delivery_failed,
store.throttle_changed
store_ids
string[]

Only send events for these stores. Omit for every store.

description
string
enabled
boolean
default:true

Response

200 - application/json

Updated endpoint.

url
string<uri>
required

Must be HTTPS.

events
enum<string>[]
required
Available options:
order.created,
order.updated,
order.cancelled,
item.availability_changed,
store.status_changed,
channel.sync_completed,
recall.created,
recall.lifted,
job.completed,
export.completed,
payout.created,
menu.published,
promotion.status_changed,
order.delivery_failed,
store.throttle_changed
id
string
Example:

"we_01J9ZY3W6X0Z"

created_at
string<date-time>
store_ids
string[]

Only send events for these stores. Omit for every store.

description
string
enabled
boolean
default:true