Webhooks Invite only
Webhooks are a great way to perform external business logic based on activity that happens in the cart by the customer.
For example, when a cart reaches a certain amount you may want to automatically apply a custom item, or when a cart is converted to an order using the checkout mutation you could send the user an email confirmation.
Webhooks are currently in BETA. Get a API token
Using your token
You must pass a Authorization header with your token with each request you want to invoke your webhooks.
Authorization: Bearer <api-key-here>
Cart
When each of the cart (and item) mutations are invoked, you will receive a payload containing the new cart state, and action performed to the Cart Webhook URL on your account.
addItemupdateItemremoveItemincrementItemQuantitydecrementItemQuantity
Checkout
When the checkout mutation is invoked, you will receive a payload containg the order to the Checkout Webhook URL on your account.