GraphQL: Cart query merchandise returns empty object

Solved

GraphQL: Cart query merchandise returns empty object

F24s
Shopify Partner
3 1 0

Cart query merchandise returns empty object:

merchandise {
... on ProductVariant {
id
title
}
}

 
It returns an object when I have the same query on for example the cartLinesAdd mutation.
But when querying the cart by ID, it doesn't seem to work...

Accepted Solution (1)

F24s
Shopify Partner
3 1 0

This is an accepted solution.

Found it, this caused the issue:

addTypename: false

View solution in original post

Reply 1 (1)

F24s
Shopify Partner
3 1 0

This is an accepted solution.

Found it, this caused the issue:

addTypename: false