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
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025