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