Get notified when specific events occur on a BigCommerce store. For more information, see the Webhooks Overview, Webhooks Events, or Webhooks Tutorial.
In general, webhook usage follows the workflow:
2xx or any failure status
Callback payloads have a uniform structure, including the minimum information to uniquely identify what event occurred, on what store, with respect to what data, and at what time. The data object serves as the only variable data structure in the payload.
For inventory and location events, data will include location_id, and variant_id or product_id as necessary. For all other events data will include type, id, and any scope-specific information (such as couponId for the store/cart/couponApplied). Scope-specific fields are outlined in the Webhooks Events.
An example of payload structure is included below. Datatypes are outlined in the following table.