fix: update order-fulfilled and order-cancelled webhooks to forward to N8N

- Update GraphQL fragments to include languageCode and all necessary fields
- Modify order-fulfilled.ts to forward to N8N instead of sending directly
- Modify order-cancelled.ts to forward to N8N instead of sending directly
- Regenerate GraphQL types with full order data
- Enable multi-language emails for shipped and cancelled orders
This commit is contained in:
Unchained
2026-03-28 13:58:29 +02:00
parent 2065b24d7a
commit 1089f03ee3
7 changed files with 1080 additions and 116 deletions
+4
View File
@@ -82,5 +82,9 @@ fragment OrderCreatedWebhookPayload on OrderCreated {
currency
}
}
metadata {
key
value
}
}
}