I am using shopify graphQL admin api and I get errors like [field] doesn’t exist on type [resource] though they exist according to graphQL admin api documentation as you can see below
and errors as well
Any insights would be appreciated
I am using shopify graphQL admin api and I get errors like [field] doesn’t exist on type [resource] though they exist according to graphQL admin api documentation as you can see below
and errors as well
Any insights would be appreciated
Images are paginated so you need to do it like this: (you can change 10 to whatever you want)
mutation productCreate($input: ProductInput!) {
productCreate(input: $input) {
product {
id
images(first: 10) {
edges {
node {
id
}
}
}
}
shop {
id
}
userErrors {
field
message
}
}
}