productCategoryCreate Mutation

Creates a new product category.

Input Argument

productCategoryCreate accepts a single input argument, an input type, which contains the values it uses.

The fields inside input are:

clientMutationId (String)

A unique identifier for the client performing the mutation.

disabled (Boolean)

Whether the product category may not be related to any more products.

group (String)

Used to include the product category in a group.

name (String!)

The name of the product category.

pictureUri (String)

The hyperlink to the image file for the record.

ruleSet (ProductCategoryRuleSet!)

Used to select a set of rules that are to be applied to the products to which the product category is related, as well as the configuration items that are related to those products. The selected rule set dictates which fields are available for these product and configuration items.

source (String)

An identifier for the client application submitting the resource or the name of an external system.

sourceID (String)

The unique identifier of the resource in an external system.

uiExtensionId (ID)

UI extension that is to be applied to the record.

Return Fields

clientMutationId (String)

A unique identifier for the client performing the mutation.

errors ([ValidationError!])

Errors encountered during the mutation.

productCategory (ProductCategory)

Record after mutation.