Requirements
Your Firmhouse project must have the Shopify subscriptions app configured. Shopify projects can then create outgoing webhooks with the Shopify Admin content type.Create a Shopify Admin webhook
- Go to Apps in the sidebar.
- Open Webhooks and click Configure.
- Click New outgoing webhook.
- Enter a Name.
- Set Content type to Shopify Admin.
- Choose an Event.
- Add your payload template (see below).
- Click Save.
Template format
The template must render valid JSON with a top-levelquery field.
queryis required and must contain a GraphQLqueryormutation.variablesis optional.
- The rendered payload is valid JSON.
queryexists at the top level.- GraphQL syntax is valid.
How delivery works
For Shopify Admin webhooks:- Firmhouse sends the request to Shopify Admin GraphQL.
- The request is sent as
application/json. X-Shopify-Access-Tokenis added automatically.Http-Firmhouse-Signatureis included like other outgoing webhooks.- Failed responses are retried automatically (up to 3 attempts).
Verify and troubleshoot
Open the webhook detail page and inspect Webhook event log:- Request body
- Response code
- Response body