Outgoing Webhooks
Send order data to external systems when events occur.
Webhooks send HTTP requests to your server when events happen in TrackMy.Shop.
Creating a Webhook
- Go to Settings → Webhooks
- Click Add Webhook
- Enter your endpoint URL
- Select which events to receive
- Save the webhook
Available Events
- order.created - New order created
- order.updated - Order details changed
- order.stage.changed - Order moved to different stage
Webhook Payload
Each webhook includes:
- event - The event type
- timestamp - When it occurred
- data - Full order object
Example Payload
{
"event": "order.stage.changed",
"timestamp": "2024-01-15T10:30:00Z",
"data": {
"id": "abc123",
"orderNumber": "ORD-001",
"stage": {
"id": "stage-456",
"name": "Shipped"
},
"customer": {
"name": "John Doe",
"email": "john@example.com"
}
}
}
Security
Webhooks include a signature header (x-trackmyshop-signature) for verification. Use the webhook secret shown after creation to verify requests.
Retry Policy
Failed webhooks are retried up to 3 times with exponential backoff. Check delivery history in Settings → Webhooks.