Create a collection
An empty collection; add products with PUT /{id}/products or from a product's page.
Create a collection › Request Body
handle^[a-z0-9][a-z0-9-]{0… · requiredLowercase letters, digits and hyphens; how a theme names the collection
titledescriptionCreate a collection › Responses
The new collection
successGet a collection
A collection with its products in order, each saying whether shoppers see it now.
path Parameters
idCollection id
Collection id
Get a collection › Responses
The collection
successRename a collection
Changes its title, description or handle. A theme names a collection by handle, so a new handle moves it out of every theme setting that named the old one.
path Parameters
idCollection id
Collection id
Rename a collection › Request Body
handle^[a-z0-9][a-z0-9-]{0…Lowercase letters, digits and hyphens; how a theme names the collection
titledescriptionRename a collection › Responses
The collection
successSave a collection's products
Replaces the collection's products with this ordered list, at once. Every id must name a product, once.
path Parameters
idCollection id
Collection id
Save a collection's products › Request Body
productIdsThe collection's products, in order; replaces the list. At most 500.
Save a collection's products › Responses
The collection as saved
successGet a collection's translations
The translatable fields in the store's primary language and every stored translation, each flagged outdated when its source text changed after it was written.
path Parameters
idGet a collection's translations › Responses
Source and translations
successTranslate a collection into one language
A JSON Merge Patch (RFC 7396) of one language: a string sets a field, null removes its translation, other fields are untouched. The language must be one the store has added, and not its primary — the resource's own fields hold that.
path Parameters
idTranslate a collection into one language › Request Body
localeTranslate a collection into one language › Responses
Source and translations after the patch
success