ProductCategory Object
Root Connection
All ProductCategory objects of an account are accessible by a query on the root connection productCategories
.
Such a query will return a ProductCategoryConnection!
, which contains the ProductCategory objects in its
nodes
field.
ProductCategoryConnection!
)
Root connection for retrieving ProductCategory records.
Argument | Type | Description |
---|---|---|
after |
String
|
Returns the elements in the list that come after the specified cursor. |
before |
String
|
Returns the elements in the list that come before the specified cursor. |
filter |
ProductCategoryFilter
|
Filter to determine which ProductCategory records are returned. |
first |
Int
|
Returns the first n elements from the list. |
last |
Int
|
Returns the last n elements from the list. |
Fields
The fields in this section list which values can be retrieved when querying ProductCategory records.
Account
)
The account this record belongs to.
ISO8601Timestamp
)
The date and time at which the record was created.
Boolean
)
Whether the product category may not be related to any more products.
String
)
Used to include the product category in a group.
ID!
)
Unique identifier of the record.
String
)
The name of the product category.
String
)
The hyperlink to the image file for the record.
String
)
Automatically set to the concatenation of the Group field value and the Name field value, separated by a forward slash, written in lower case characters and with all spaces replaced by an underscore character.
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.
String
)
An identifier for the client application submitting the resource or the name of an external system.
String
)
The unique identifier of the resource in an external system.
UiExtension
)
UI extension that is linked to the product category.
ISO8601Timestamp
)
The date and time of the last update of the record. If the record has no updates it contains the createdAt
value.
Connections
The connection fields in this section allow (paged) access to objects related to a specific ProductCategory record.
The actual objects will be in the nodes
field of the connection.
ProductConnection
)
Products in this category.
Argument | Type | Description |
---|---|---|
after |
String
|
Returns the elements in the list that come after the specified cursor. |
before |
String
|
Returns the elements in the list that come before the specified cursor. |
first |
Int
|
Returns the first n elements from the list. |
last |
Int
|
Returns the last n elements from the list. |
TranslationConnection
)
Translations associated with this object.
Argument | Type | Description |
---|---|---|
after |
String
|
Returns the elements in the list that come after the specified cursor. |
before |
String
|
Returns the elements in the list that come before the specified cursor. |
first |
Int
|
Returns the first n elements from the list. |
last |
Int
|
Returns the last n elements from the list. |
Implements
ProductCategory implements the following interfaces. This means that fragments defined on these interfaces may be used in queries returning a ProductCategory.