Skip to main content

Interface: ProductCategoryRelationship

Defined in: type/ProductCategoryRelationship.ts:6

Object class for ProductCategoryRelationship

Properties​

category​

category: Category

Defined in: type/ProductCategoryRelationship.ts:24

Primary category associated with the product.


categoryId​

categoryId: number

Defined in: type/ProductCategoryRelationship.ts:12

Numeric category identifier retained for compatibility with legacy integrations.


createdAt​

createdAt: string

Defined in: type/ProductCategoryRelationship.ts:18

Timestamp marking when the record was created, in UTC ISO 8601 format.


isDefault​

isDefault: boolean

Defined in: type/ProductCategoryRelationship.ts:14

Whether this is the default category for the product


lastModifiedAt​

lastModifiedAt: string

Defined in: type/ProductCategoryRelationship.ts:20

Timestamp marking the last modification of the record, in UTC ISO 8601 format.


product​

product: Product

Defined in: type/ProductCategoryRelationship.ts:22

The product in this relationship


productId​

productId: number

Defined in: type/ProductCategoryRelationship.ts:10

Product ID


sortOrder​

sortOrder: number

Defined in: type/ProductCategoryRelationship.ts:16

Sort order within the category


uuid​

uuid: string

Defined in: type/ProductCategoryRelationship.ts:8

Globally unique identifier for the product or cluster.