A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Hi everyone.
I have the following orders query:
query($cursor: String) { orders( first: 10, after: $cursor, reverse: true ) { pageInfo { hasNextPage hasPreviousPage } edges { cursor node { id createdAt name email phone totalPriceSet { presentmentMoney { amount currencyCode } } shippingAddress { address1 address2 city country countryCodeV2 firstName lastName phone zip company provinceCode } shippingLine { shippingRateHandle } lineItems(first: 10) { edges { node { sku quantity product { id, tags title } } } } } } } }
Is it possible to get orders that have a product with a specific tag?
I will be glad for the help.
Solved! Go to the solution
This is an accepted solution.
It's not possible. You'll have to go through all orders and check lineitems/products.
This is an accepted solution.
It's not possible. You'll have to go through all orders and check lineitems/products.
Thanks.