Skip to main content

Collection

A collection represents a grouping of products that a shop owner can create to organize them or make their shops easier to browse.

Attributes

AttributesDescription
idlong: Unique identifier of the collection.
namestring: Name of the collection.
urlstring: Complete URL of the collection in the store.
descriptionstring: Detailed description of the collection.
handlestring: Handle of the collection URL.
productsarray: List of all the products belonging to the collection.
sort_by_optionsarray: Array of the different sort options available.
is_selectedboolean: Denotes whether the sort by option is selected.
namestring: Name of the sort by option.
valuestring: Value of the sort by option.