Quick start
1. Sign up
Go to app.commercehook.app/login and enter your email address. There is no password; we email you a sign-in link that is valid for 15 minutes.
2. Create an endpoint
On the Endpoints page, give your endpoint a name (for example “Production store”) and press Create. You get a URL of the form:
https://hooks.commercehook.app/hooks/YOUR_ENDPOINT_ID
Copy it with the Copy URL button.
3. Register a BigCommerce webhook pointing at it
Use the BigCommerce v3 hooks API with your store hash and an API account access token:
curl -X POST "https://api.bigcommerce.com/stores/{store_hash}/v3/hooks" \
-H "X-Auth-Token: {access_token}" \
-H "Content-Type: application/json" \
-d '{
"scope": "store/order/created",
"destination": "https://hooks.commercehook.app/hooks/YOUR_ENDPOINT_ID",
"is_active": true
}'
Swap the scope for whichever event you are debugging.
4. Send a test event
Trigger the event in your store (for the scope above, create an order; a sandbox order is fine). Alternatively, send yourself a test POST first to see the pipe working end to end:
curl -X POST "https://hooks.commercehook.app/hooks/YOUR_ENDPOINT_ID" \
-H "Content-Type: application/json" \
-d '{"hello": "commercehook"}'
5. Inspect it
Open your endpoint in the dashboard. The event appears in the timeline within seconds; the page checks for new events every 10 seconds while it is open. Select the event to see the payload as a collapsible JSON tree, every header as delivered, and the received time. Use Raw to copy the payload verbatim, and j / k to move through events from the keyboard.