Creates a collection.
write_products access scope.
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
The properties to use when creating the collection.
The description of the collection, in HTML format.
A unique human-friendly string for the collection. Automatically generated from the collection's title.
Specifies the collection to update or create a new collection if absent.
The image associated with the collection.
The metafields to associate with this collection.
The private metafields to associated with this product.
Initial list of collection products. Only valid with
productCreateand without rules.
Initial list of collection publications. Only valid with
productCreate. This argument is deprecated: Use PublishablePublish instead.
Indicates whether a redirect is required after a new handle has been provided. If true, then the old handle is redirected to the new one automatically.
The rules used to assign products to the collection.
SEO information for the collection.
The order in which the collection's products are sorted.
The theme template used when viewing the collection in a store.
Required for creating a new collection.