productCategoryDelete
mutation
Delete product categories
Removes one or more product categories. Categories containing products or child categories cannot be deleted.
mutation {
productCategoryDelete(companyId: Int!, productCategoryId: [Int]!): DeletionError!
}Returns: DeletionError!
Arguments
| Name | Type | Description |
|---|---|---|
companyId | Int! | |
productCategoryId | [Int]! |