Skip to main content

Receive Order Updated Webhook

POST 

/api/webhooks/bc-webhook/:integration_instance/order-updated

Receives BigCommerce's store/order/updated webhook, which BigCommerce sends when an existing order changes (status, items, addresses and so on). This endpoint is called by BigCommerce, not by API clients: SKU.io registers it automatically (see Enable BigCommerce Webhook / Create All BigCommerce Webhooks), using the callback URL shown in List BigCommerce Webhook Configurations.

Authentication: none (no Bearer token). Each delivery must carry the X-Webhook-Secret header with the per-instance shared secret SKU.io gave BigCommerce at registration; a missing or wrong secret, or an unknown integration instance, returns 401. An empty body returns 400.

The route accepts any HTTP method; BigCommerce delivers with POST. The body is BigCommerce's lightweight event envelope (scope, store_id, data with the resource type and id, hash, created_at as a Unix timestamp, producer); SKU.io then fetches the full record from the BigCommerce API itself. Processing refreshes the synced order and updates the linked sales order.

The event is recorded and processed in the background, so the endpoint replies 200 {"status":"success"} straight away. Received events, including any that fail processing, appear in List BigCommerce Webhook Events.

Request​

Responses​

OK

Response Headers
    Content-Type