productCategoryDelete

Graphql fields and variables for the productCategoryDelete mutation

Delete a product category

Scope required: product:write

mutation productCategoryDelete ($id: ID!) {
  productCategoryDelete (id: $id) {
      errors
      productCategory {
        createdAt
        id
        name
        updatedAt
      }
  }
}

Arguments

{
  "id": "456123"
}
Name
Type
Description

id

ID

Response

Name
Type
Description

errors

String

productCategory

Last updated

Was this helpful?