GraphQL line item's product is null

Solved
Amichay
Excursionist
23 0 1

When fetching orders via GraphQL in some cases the line item's product object value is null (order.lineItem.product node).

I also can't find the product when fetching all client products.

The interesting thing is that the lineItem.title node do show the right product title.

 

For example,

shop_id - 'ultimateautographs'

order #28688

line item product title - "Live Break #1- The Fins Up Series 9/14/20 DOUBLE BOX"

 

103375239-ac8f5300-4aa7-11eb-9129-d899a538c6b5 - Copy.png

Please Investigate 

 

0 Likes
Amichay
Excursionist
23 0 1

also the client do see this product in the UI Analytics "Products Sales" report

0 Likes
vix
Shopify Staff
Shopify Staff
534 105 103

This is an accepted solution.

If the product or variant has been deleted, the line item will only keep the title. 

 
 

Vix | Developer Support @ Shopify 
 - Was my reply helpful? Click Like to let me 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

0 Likes
Amichay
Excursionist
23 0 1

@vix Thanks for clarification!

also found the vendor in the lineItem level

0 Likes