Skip to main content

createCollection

Add a new Collection to a DemandHq.

Requires the collection/write permission on the given DemandHq

createCollection(
input: CollectionCreateInput!
): Collection!

Arguments

createCollection.input ● CollectionCreateInput! non-null input

Type

Collection object

A Collection is a group of products, what may often be referred to as a "Category Page" of some variety. In reality, a collection is far more flexible and can be used to represent any product grouping, and the collectionType can help differentiate between them.