ProductCollection
A Product Collection allows grouping together products for promotional purposes. For example, an admin can create a Summer collection, add products to it, and showcase it on the storefront.
Constructors
constructor
**new ProductCollection**()
A Product Collection allows grouping together products for promotional purposes. For example, an admin can create a Summer collection, add products to it, and showcase it on the storefront.
Properties
created_atDateRequiredThe date with timezone at which the resource was created.
deleted_atnull | DateRequiredThe date with timezone at which the resource was deleted.
handlestringRequiredA unique string that identifies the Product Collection - can for example be used in slug structures.
idstringRequiredThe product collection's ID
metadataRecord<string, unknown>RequiredAn optional key-value map with additional details
The details of the products that belong to this product collection.
titlestringRequiredThe title that the Product Collection is identified by.
updated_atDateRequiredThe date with timezone at which the resource was updated.
Methods
createHandleIfNotProvided
Private **createHandleIfNotProvided**(): void
Returns
void
voidvoidWas this section helpful?