Collections

Collections allow you to organize your products into hierarchical groups. Where a dress product might be in the category Clothing, the individual product might also be in the collection Summer.

The Collection object

Attribute

Type

Description

id

string

The unique identifier for this collection

type

string

Represents the type of object being returned

name

string

The name of the collection

slug

string

A unique slug identifier for the collection

description

string

Any description for this collection

status

string

live or draftdepending on the collection status

meta

object

relationships

object

The meta object

Attribute

Type

Description

meta.timestamps

object

Timestamps for this collection

meta.timestamps.created_at

string

The creation date of this collection

meta.timestamps.updated_at

string

The updated date of this collection

The relationships object

Attribute

Type

Description

relationships.products

array[object]

An array of products for this collection

relationships.products.data

array[object]

An array of relationships from this collection to products resources

relationships.products.data.type

string

Always collection

relationships.products.data.id

string

The unique identifier of the related product

Last updated