App reviews, troubleshooting, and recommendations
I am new to graphql and i dont understand where on earth I can find out which properties and subproperties are available in a given object.
for example
query Input { cart { buyerIdentity { customer { numberOfOrders } } cost { subtotalAmount { amount } } lines { id # cost merchandise { title weight } quantity } } }
Merchandise says it has a CustomProduct but the docs don't give you what the variable is actually called. I thought maybe to add it without the product but it's not working. It does not seem very straightforward.
Can anyone help?
Here you go:
query Input {
cart {
buyerIdentity {
customer {
numberOfOrders
}
}
cost {
subtotalAmount {
amount
}
}
lines {
id
attribute(key: "myCustomKey") {
key
value
}
# cost
merchandise {
title
weight
}
quantity
}
}
}
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023