Thanks for being patient while we implement your feedback to improve the developer experience.
API Docs
Building Apps
Guide
Listening for Events

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

Related articles

Sample apps

Tools

Blog posts