Overview
Inventory Update Webhook
Endpoint:POST /webhooks/inventory-update
Allows external warehouse management systems (WMS), ERP platforms, or custom scripts to push inventory level updates to Site Store Pro without requiring an admin login.
Authentication
The webhook verifies the request using a shared secret. Include your secret using any one of the following methods:Setting Your Secret
Add your chosen secret to.env:
Request Payload
All fields except
sku are optional. Any field that is omitted is left unchanged — only explicitly provided fields are updated.Response
A successful update returns a200 OK response with a JSON body containing the updated inventory record and the new calculated total stock.
Inbound Email Webhook
Endpoint:POST /webhooks/inbound-email
Enables customers and staff to reply to support tickets by simply replying to a notification email — without logging into the dashboard.
How It Works
Every ticket notification email is sent with a unique reply-to address:- Extracts the
{token}from the recipient address - Verifies the token against the
ticketstable - Appends the email body as a new reply on the matched ticket thread
Supported Email Providers
Cloudflare Email Workers
Configure Cloudflare Email Routing rules to forward
reply+*@yourdomain.com addresses to your webhook endpoint via an Email Worker.Mailgun
Set up a Mailgun inbound routing rule to
POST the parsed email payload to https://yourdomain.com/webhooks/inbound-email.Postmark
Use Postmark’s inbound email processing to forward structured JSON email payloads to your webhook endpoint.
Stripe Webhook
Endpoint:POST /webhooks/stripe
Handles Stripe payment events including successful charges, failed payments, refunds, and subscription updates.
See the Stripe payment processor documentation for webhook registration instructions and a full list of handled events.
Paddle Webhook
Endpoint:POST /webhooks/paddle
Handles Paddle payment events for order fulfillment and subscription management.
See the Paddle payment processor documentation for webhook registration instructions and event handling details.