Webhook Shopify — commandes (OAuth)
Reçoit orders/create et orders/updated pour une boutique connectée via OAuth. Enregistré automatiquement après « Connecter Shopify ». Signature HMAC-SHA256 avec le secret d'app Shopify (pas de X-API-Key).
POST
https://zedcheckout.com/api/v1/webhooks/shopify/t/{tenant_id}/ordersReçoit orders/create et orders/updated pour une boutique connectée via OAuth. Enregistré automatiquement après « Connecter Shopify ». Signature HMAC-SHA256 avec le secret d'app Shopify (pas de X-API-Key).
Auth — HMAC + X-API-Key
Catégorie — Webhooks entrants
Paramètres de chemin
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | uuid | ✓ | Identifiant tenant ZedCheckout |
Headers
| Nom | Type | Requis | Description |
|---|---|---|---|
| X-Shopify-Hmac-SHA256 | string | ✓ | Signature HMAC du body brut (secret app Shopify) |
| X-Shopify-Shop-Domain | string | — | Domaine boutique (contrôle supplémentaire côté ZedCheckout) |
Exemples
curl -X POST 'https://zedcheckout.com/api/v1/webhooks/shopify/t/{tenant_id}/orders'Réponses
202Accepted
{ "accepted": 1, "rejected": 0 }401Unauthorized
Signature invalide
{ "error": "unauthorized" }