Programmatic Webhooks
Create Webhook
Create a new webhook subscription.
Required API key scope
- Developer Tools
POST
Authorizations
Body
application/json
The webhook's topic.
Available options:
return
, label
, restock
The condition which triggers the webhook.
Available options:
return.created
, return.updated
, return.closed
, label.created
, label.updated
, restock.requested
The webhook's URL.
The webhook's status.
Available options:
active
, inactive
Response
200
application/json
Success
The webhook's unique identifier.
The unique identifier of the shop that created the webhook.
The webhook's topic.
Available options:
return
, label
, restock
The condition which triggers the webhook.
Available options:
return.created
, return.updated
, return.closed
, label.created
, label.updated
, restock.requested
The webhook's URL.
The webhook's status.
Available options:
active
, inactive