When using the DraftOrders GraphQL Admin API, there's a sample of querying draftOrders by email field.
But when I actually ran the sample, it also returns the draftOrder without email. Is this an outdated sample and not supported anymore?
Thanks in advance.
When I look at this I don't see this as a draftOrders query option --> https://shopify.dev/docs/admin-api/graphql/reference/queryroot.
Specifically below...
If you try it there based on that query parameter it returns other records as well in the response. So that would be a NO for e-mail...lol. But you can by customer_id according to the API endpoint specs.
User | Count |
---|---|
13 | |
12 | |
6 | |
6 | |
5 |