Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Emails & Messages app] Missing trackingNumber in order Order fulfillment updated #1111

Open
piotrgrundas opened this issue Nov 15, 2023 · 0 comments

Comments

@piotrgrundas
Copy link

When adding tracking to an order I would like to send an appropriate email with the tracking id/URL included in the email.

Unfortunately from what I am seeing it is not included in the payload.
https://github.com/saleor/apps/blob/main/apps/emails-and-messages/graphql/fragments/OrderDetails.graphql#L1
https://github.com/saleor/apps/blob/main/apps/emails-and-messages/src/pages/api/webhooks/order-fulfilled.ts#L16

I believe it would be sufficient to include order.fulfillments.trackingNumber in to the OrderDtails fragment.

@piotrgrundas piotrgrundas changed the title Missing trackingNumber in order Order fulfillment updated [Emails & Messages] Missing trackingNumber in order Order fulfillment updated Nov 15, 2023
@piotrgrundas piotrgrundas changed the title [Emails & Messages] Missing trackingNumber in order Order fulfillment updated [Emails & Messages app] Missing trackingNumber in order Order fulfillment updated Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant