A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Why can I not find anything about line items for orders in graphql documentation of Shopify?
Hi @Ubed ,
Thanks for your post. Here's a link to the GraphQL Admin API Dev Docs reference page for Orders which goes directly to the 'lineItems' listing lower down on the page under the 'Connections' section, similar to what @Eric-HAN mentioned:
https://shopify.dev/docs/api/admin-graphql/2024-07/objects/Order#connection-lineitems
You may have been looking for it in the 'Fields' section higher up on the page.
Hope you have a great day
Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog