Documentation Index
Fetch the complete documentation index at: https://docs.launchmystore.io/llms.txt
Use this file to discover all available pages before exploring further.
Webhooks
Webhooks allow your app to receive real-time notifications when events occur in a merchant’s store. Instead of polling for changes, LaunchMyStore pushes events to your server as they happen.How Webhooks Work
Registering Webhooks
Register webhooks during app installation:Webhook Topics
LaunchMyStore supports 31 webhook topics:Orders
| Topic | Description |
|---|---|
orders/create | New order placed |
orders/updated | Order modified |
orders/cancelled | Order cancelled |
orders/fulfilled | Order fully fulfilled |
orders/paid | Order payment confirmed |
Products
| Topic | Description |
|---|---|
products/create | New product created |
products/update | Product modified |
products/delete | Product deleted |
Customers
| Topic | Description |
|---|---|
customers/create | New customer registered |
customers/update | Customer data modified |
customers/delete | Customer deleted |
Inventory
| Topic | Description |
|---|---|
inventory/update | Inventory level changed |
Checkouts
| Topic | Description |
|---|---|
checkouts/create | Checkout started |
checkouts/update | Checkout modified |
checkouts/complete | Checkout completed |
App
| Topic | Description |
|---|---|
app/installed | App installed on store |
app/uninstalled | App removed from store |
Webhook Payload
Verifying Webhooks
All webhooks are signed with HMAC-SHA256. Verify the signature to ensure the webhook came from LaunchMyStore:Delivery & Retries
- Timeout: Your endpoint must respond within 5 seconds
- Response: Return 2xx status code to acknowledge receipt
- Retries: Failed deliveries are retried 3 times with exponential backoff:
- 1st retry: 1 minute
- 2nd retry: 5 minutes
- 3rd retry: 15 minutes
- Dead letter: After 3 failures, the webhook is logged and no more retries
Best Practices
Respond quickly
Respond quickly
Return 200 immediately, then process asynchronously. Long-running handlers cause timeouts.
Handle duplicates
Handle duplicates
Webhooks may be delivered more than once. Use the
id field to deduplicate.Verify signatures
Verify signatures
Always verify HMAC signatures to ensure webhooks are authentic.
Use HTTPS
Use HTTPS
Webhook endpoints must use HTTPS in production.