A collection represents a collection of products. Collections are unlike categories in that they cannot be nested underneath other collections. They are simply a flat way to group products.

Properties:

id - Integer - Unique id of the collection

name - String - Name of the collection

content - String - A body of text that can be used to describe the collection

products - [Product] - Array of products assigned to the collection

images - [Image] - Array of images attached to the collection

primary_image - Image - Primary image of the collection

path - URL path to the collection on your store

Did this answer your question?