productCategoriesAdd
Create a product category.
MUTATION
productCategoriesAdd(name: String!, code: String!, description: String, parentId: String, slug: String, attachment: AttachmentInput, status: String, seo: JSON): ProductCategoryArguments
name
String!
required
code
String!
required
description
String
parentId
String
slug
String
attachment
AttachmentInput
status
String
seo
JSON
Returns
_id
String!
name
String
description
String
parentId
String
code
String!
order
String!
slug
String
workspaceId
String
attachment
status
String
isRoot
Boolean
productCount
Int
seo
createdAt
Date
updatedAt
Date
Mutation
Variables
Response
Last modified on August 8, 2026
Related topics
MCP tool catalogProductCategoryproductCategoriesproductCategoriesEditproductCategoriesRemoveMutation
Variables
Response