v1

latestOpenAPI 3.0.1MIT2026-07-263151,3912.3 MB
Product Collections

Update Product Collection

Updates the product collection.

For STATIC collections, you can update only the name.

For AUTO_UPDATE collections, you can update its name and filters.

put/v1/product-collections/{productCollectionId}

Request body

OR

Response

Returns a product collection object if a valid identifier was provided in the path.

idstring required

Product collection ID.

namestring required

Unique user-defined product collection name.

type'STATIC' | 'AUTO_UPDATE' required

Describes whether the product collection is dynamic (products come in and leave based on set criteria) or static (manually selected products).

created_atstring date-time required

Timestamp representing the date and time when the product collection was created. The value is shown in the ISO 8601 format.

object'products_collection' required

The type of the object represented by JSON. This object stores information about the static product collection.

updated_atstring date-time

Timestamp representing the date and time when the product collection was last updated. The value is shown in the ISO 8601 format.

Example response

{
  "name": "All Products",
  "products": [
    {
      "id": "prod_0a41bcf807c5fcaaf6"
    }
  ],
  "created_at": "2021-12-09T12:51:29.898Z",
  "updated_at": "2022-04-26T08:35:54.960Z"
}