v1
latestOpenAPI 3.1.02026-07-2689175245.8 KBProgrammatic Webhooks
Create Webhook
Create a new webhook subscription.
post/webhooks
Request body
Example request
{
"topic": "return",
"trigger": "return.created",
"url": "https://example.com/webhook"
}Response
Created
Example response
{
"id": 12345,
"shop_id": 65432,
"topic": "return",
"trigger": "return.created",
"url": "https://example.com/webhook"
}