NULL variant when fetching fulfillment line items in GraphQL order query

NULL variant when fetching fulfillment line items in GraphQL order query

retailWarrior
Shopify Partner
4 0 1

retailWarrior_1-1707819183287.png

The above is the result of querying an order by  and fetching fulfillment line items along with it.
As you can see, the "variant" is null

When I fetch the same product using the product query, the variant does appear.

retailWarrior_2-1707819561534.png

 


I want to map the variant id with the fulfillment line item id but that is impossible if the variant is null when retrieving fulfilment lines via order. The variant is null again if i retrieve the fulfillment lines by querying the fulfillments.

retailWarrior_3-1707819652037.png

 

 

Replies 6 (6)

retailWarrior
Shopify Partner
4 0 1

Bump

retailWarrior
Shopify Partner
4 0 1

Bump

retailWarrior
Shopify Partner
4 0 1

Bump.
Would really appreciate any help regarding this issue.

RYAN_CHANG
Shopify Partner
8 0 2

I think you need to add the scope for "READ_PRODUCTS"

joefitter
Shopify Partner
3 0 0

BUMP

cooperandco
Shopify Partner
9 1 4

BUMP!!!!