Post Webhook Create

POST {{baseUrl}}/webhook.create.json?entity=<string>&action=<string>&callback=<string>&label=<string>&fields=<string>&active=<boolean>&store_id=<string>

Create webhook on the store and subscribe to it.

Request Params

KeyDatatypeRequiredDescription
entitystringSpecify the entity that you want to enable webhooks for (e.g product, order, customer, category)
actionstringSpecify what action (event) will trigger the webhook (e.g add, delete, or update)
callbackstringCallback where the webhook should send the POST request when the event occurs
labelstringThe name you give to the webhook
fieldsstringFields the webhook should send
activestringWebhook status
store_idstringDefines store id where the webhook should be assigned