ProductCategoryRelationship
No description
type ProductCategoryRelationship {
uuid: ID!
productId: Int!
categoryId: Int!
isDefault: Boolean!
sortOrder: Int!
createdAt: DateTime!
lastModifiedAt: DateTime!
product: Product!
category(hidden: YesNo): Category!
}
Fields
ProductCategoryRelationship.uuid ● ID! non-null scalar
Globally unique identifier for the product or cluster.
ProductCategoryRelationship.productId ● Int! non-null scalar
Product ID
ProductCategoryRelationship.categoryId ● Int! non-null scalar
Numeric category identifier retained for compatibility with legacy integrations.
ProductCategoryRelationship.isDefault ● Boolean! non-null scalar
Whether this is the default category for the product
ProductCategoryRelationship.sortOrder ● Int! non-null scalar
Sort order within the category
ProductCategoryRelationship.createdAt ● DateTime! non-null scalar
Timestamp marking when the record was created, in UTC ISO 8601 format.
ProductCategoryRelationship.lastModifiedAt ● DateTime! non-null scalar
Timestamp marking the last modification of the record, in UTC ISO 8601 format.
ProductCategoryRelationship.product ● Product! non-null object
The product in this relationship
ProductCategoryRelationship.category ● Category! non-null object
Primary category associated with the product.
ProductCategoryRelationship.category.hidden ● YesNo enum
Returned By
productAddToCategory mutation ● productCategoryMoveAbove mutation ● productCategoryMoveBelow mutation ● productCategoryMoveToBottom mutation ● productCategoryMoveToTop mutation ● productsBulkAddToCategory mutation