**Version: 202201**

# Collection

Manage curated product collections displayed on the storefront.

A collection is a grouping of products that the merchant displays together in the storefront, such as a seasonal lineup or a curated set. Each collection carries its own title, description, SEO attributes, associated products, and merchandise sorting rules.

Provides endpoints to create, list, retrieve, update, and delete collections, and to count collections matching given criteria.

- [Create Collection](/api/202201/create-collection) `POST /openapi/2022-01/collections`: Allows users to create a new collection in the store, including details like the title, description, associated products, SEO attributes, and merchandise sorting rules.

- [Collection List](/api/202201/collection-list) `GET /openapi/2022-01/collections`: Retrieves a list of collections based on various filter criteria, such as product_id, title, or update timestamps.

- [Collection Count](/api/202201/collection-count) `GET /openapi/2022-01/collections/count`: Retrieve the total number of collections that match specific criteria.

- [Collection Details](/api/202201/collection-details) `GET /openapi/2022-01/collections/:id`: Retrieves detailed information about a specific collection by providing its unique identifier.

- [Update Collection](/api/202201/update-collection) `PUT /openapi/2022-01/collections/:id`: Allows users to update details of an existing collection by providing the collection ID and the desired updates in the request body.

- [Delete Collection](/api/202201/delete-collection) `DELETE /openapi/2022-01/collections/:id`: Allows users to delete a specific collection by providing its unique ID in the path parameter.

- [Create Collect](/api/202201/create-collect) `POST /openapi/2022-01/collects`: Associates a product with a collection by creating a collect object.

- [Collect List](/api/202201/collect-list) `GET /openapi/2022-01/collects`: Retrieves a list of collect objects, representing the associations between products and collections.

- [Collect Count](/api/202201/collect-count) `GET /openapi/2022-01/collects/count`: Retrieves the total number of collect objects that associate products with a collection.

- [Collect Details](/api/202201/collect-details) `GET /openapi/2022-01/collects/:id`: Retrieves detailed information about a specific collect by its unique identifier (id)

- [Delete Collect](/api/202201/delete-collect) `DELETE /openapi/2022-01/collects/:id`: Removes an association between a product and a collection by deleting a collect object.
