API Version 2025-10
Read and Write market permissions are set. I don’t see anything about catalog permissions except that “The user must have permission to create and edit catalogs.”. GraphQL doesn’t deal with “users”. It deals with scopes and permissions.
I’m trying to create a catalog using the example from https://shopify.dev/docs/api/admin-graphql/latest/mutations/catalogCreate:
mutation catalogCreate($input: CatalogCreateInput!) {
catalogCreate(input: $input) {
catalog {
id
status
title
publication {
id
autoPublish
}
priceList {
id
currency
}
}
userErrors {
field
message
}
}
}
{
"input": {
"title": "50% Off Wholesale",
"status": "ACTIVE",
"context": {
"marketIds": [
"gid://shopify/Market/99999999"
]
}
}
}
I’m getting the market id from:
{
markets(first: 50) {
nodes {
name
handle
id
}
}
}
However, I keep getting this error when attempting to create the catalog:
"userErrors": [
{
"field": [
"input",
"context"
],
"message": "Cannot create a catalog for a market."
}
]
What am I missing?