Skip to main content
Version: 202506

Create collect

POST 

/openapi/2025-06/collects

Associates a product with a collection by creating a collect object.

Request

Bodyrequired

    collect objectrequired

    Collect (product-collection relation)

    collection_idstringrequired

    Collection ID

    product_idstringrequired

    Product ID

Responses

OK

Schema
    codestring

    error code

    messagestring

    error message

    data object
    collect object

    Collect (product-collection relation)

    idstring

    Collect ID

    collection_idstring

    Identifier of the associated collection

    product_idstring

    Identifier of the associated product

    positionint64

    Position of the product in the collection

    created_atstring

    Timestamp when the collect was created

    updated_atstring

    Timestamp when the collect was last updated