App reviews, troubleshooting, and recommendations
Tested everything with the permissions for the CustomApps and via GraphQL Explorer and via Shopify GraphQL App
Mutation -
mutation collectionCreate {
collectionCreate(input: {title: "Nike Air Jordan"}) {
userErrors {
field
message
}
collection {
title
}
}
}
RESPONSE -
{
"data": {
"collectionCreate": null
},
"errors": [
{
"message": "CollectionCreate access denied",
"locations": [
{
"line": 3,
"column": 1
}
],
"path": [
"collectionCreate"
]
}
],
"extensions": {
"cost": {
"requestedQueryCost": 10,
"actualQueryCost": 10,
"throttleStatus": {
"maximumAvailable": 1000,
"currentlyAvailable": 990,
"restoreRate": 50
}
}
}
}
Hello @WareWorks
For creating collection using Shopify graphql
you need to go to the following permission path and set particular permission for collection
Settings -> Apps and sales -> develop app -> your app name -> configuration
1. You'll need the write_content
or write_products
scope to create collections.
Basic query for create collection
mutation {
collectionCreate(input: {title: "Digital watches ", descriptionHtml:"A digital watches "}) {
collection {
id
descriptionHtml
}
}
}
thank you
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025