Access Denied even after having Write_Products permission while Create Collection via GraphQL

WareWorks
New Member
2 0 0

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
}
}
}
}

 

 

Replies 0 (0)