Webhook
Natural-language prompts for the shoplazza-webhook skill — event subscriptions for your app. Prefix each request with /shoplazza-webhook, then describe the task.
Prerequisites
- Get started
- Authenticate against your store as in Get started. Webhook commands need no OAuth scope of their own (
--domain webhookadds none), so a store login with only--domain webhookis rejected for requesting no scope.
Examples
1. Subscribe to an event
/shoplazza-webhook Subscribe to the orders/create event and send it to https://example.com/hook
Runs webhook create with topic orders/create and that address.
2. List subscriptions
/shoplazza-webhook What webhooks are registered right now?
Runs webhook list --format table.
3. Update a callback URL
/shoplazza-webhook Change webhook 123 to point at https://example.com/webhooks/orders-v2
Runs webhook update --params '{"id":"123"}' with the new address.
4. Delete a subscription
/shoplazza-webhook Remove webhook 123
Runs webhook delete --params '{"id":"123"}'. As a write operation, the agent previews with --dry-run and confirms first.
5. Count subscriptions
/shoplazza-webhook How many webhooks do I have?
Runs webhook count.
Domain boundary
This skill owns the subscription. The events themselves (order created, product updated) are produced by the orders and products domains.