Re: Why can I not find anything about line items in graphql documentation of Shopify?

Why can I not find anything about line items in graphql documentation of Shopify?

Ubed
Visitor
1 0 0

Why can I not find anything about line items for orders in graphql documentation of Shopify?

 

Replies 2 (2)

Eric-HAN
Shopify Partner
181 25 20
EricHAN_0-1720577020169.pngIsn't this it?

 

- Helpful? Please hit Like and mark it as a solution
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me    Buy Me A Coffee

ShopifyDevSup
Shopify Staff
1453 238 508

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