Listening for Events

Your app may need to be notified when specific events occur on a BigCommerce store (for example, when an order is created). Your app can programmatically subscribe to such events using webhooks. We’ll briefly introduce webhooks in this article (for visibility); to take a deeper dive, see Webhooks Overview.

Available webhooks

The following resources have webhooks events available to apps:

Learn more about webhook events.

Creating webhooks

To create a webhook, send a request to the Create a webhook endpoint.

Example request: Create a webhook
POST https://api.bigcommerce.com/stores/{STORE_HASH}/v2/hooks
X-Auth-Token: {ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json
{
"scope": "store/order/updated",
"destination": "https://665b65a6.ngrok.io/webhooks",
"is_active": true
}

Learn more about creating webhooks.

Next steps

Resources

Sample apps

Tools

Blog posts