productCategoryCreate
Graphql fields and variables for the productCategoryCreate mutation
Create a product category
Scope required: product:write
For a complete list of input attributes see the ProductCategoryAttributes type
mutation productCategoryCreate ($attributes: ProductCategoryAttributes!) {
productCategoryCreate (attributes: $attributes) {
errors
productCategory {
createdAt
id
name
updatedAt
}
}
}
Arguments
{
"attributes": {
"name": ""
}
}
Name
Type
Description
Response
Name
Type
Description
errors
List (String)
Last updated
Was this helpful?