productCategoryCreate
mutation
Create product category
Creates a new product category within the company's catalog hierarchy. Categories can be nested under a parent category. Returns the created category.
mutation {
productCategoryCreate(companyId: Int!, data: ProductCategoryInsert!): ProductCategory!
}Returns: ProductCategory!
Arguments
| Name | Type | Description |
|---|---|---|
companyId | Int! | |
data | ProductCategoryInsert! |