Product Collections

Retrieve Product Collection

get

Retrieve a specific product collection by ID

Authorizations
AuthorizationstringRequired
Path parameters
idintegerRequired

Unique identifier of the resource

Example: 1
Query parameters
hyperbooleanOptional

Activate id to hyperlink the response data.

Responses
chevron-right
200

OK

application/json
Responseone of
or
get
/api/v1/product_collections/{id}/

Update Product Collection

put

Update an existing product collection

Authorizations
AuthorizationstringRequired
Path parameters
idintegerRequired

Unique identifier of the resource

Example: 1
Query parameters
hyperbooleanOptional

Activate id to hyperlink the response data.

Body
namestring · max: 255Required

Name of the product collection

collection_typestring · enumRequired

Type of the product collection

Possible values:
catalogintegerRequired

Foreign key to Catalog model

is_activebooleanOptional

Whether the product collection is active

Default: true
sort_optioninteger | nullableOptional

Foreign key to SortOption model

expiration_datestring · date-time | nullableOptional

Date and time when the collection expires

selected_filtersstring[]Optional

List of selected filters for the collection

Responses
chevron-right
200

OK

application/json
Responseone of
or
put
/api/v1/product_collections/{id}/

Delete Product Collection

delete

Delete an existing product collection

Authorizations
AuthorizationstringRequired
Path parameters
idintegerRequired

Unique identifier of the resource

Example: 1
Responses
delete
/api/v1/product_collections/{id}/

No content

Partial Update Product Collection

patch

Partially update an existing product collection

Authorizations
AuthorizationstringRequired
Path parameters
idintegerRequired

Unique identifier of the resource

Example: 1
Query parameters
hyperbooleanOptional

Activate id to hyperlink the response data.

Body
namestring · max: 255Optional

Name of the product collection

collection_typestring · enumOptional

Type of the product collection

Possible values:
catalogintegerOptional

Foreign key to Catalog model

is_activebooleanOptional

Whether the product collection is active

sort_optioninteger | nullableOptional

Foreign key to SortOption model

expiration_datestring · date-time | nullableOptional

Date and time when the collection expires

selected_filtersstring[]Optional

List of selected filters for the collection

Responses
chevron-right
200

OK

application/json
Responseone of
or
patch
/api/v1/product_collections/{id}/

Retrieve Detailed Product Collection

get

Retrieve a specific product collection with detailed information

Authorizations
AuthorizationstringRequired
Path parameters
idintegerRequired

A unique integer value identifying this product collection.

Query parameters
hyperbooleanOptional

Activate id to hyperlink the response data.

Responses
chevron-right
200

OK

application/json
Responseone of
or
get
/api/v1/product_collections/{id}/detailed/

List Product Collections

get

List all product collections

Authorizations
AuthorizationstringRequired
Query parameters
pageinteger · min: 1Optional

Specifies the page number of the current dataset

Default: 1
limitinteger · min: 1Optional

Indicates the number of rows on the current page.

Default: 10
hyperbooleanOptional

Activate id to hyperlink the response data.

catalogintegerOptional

Filter by catalog ID

collection_typestring · enumOptional

Filter by collection type

Possible values:
expiration_date__gtstring · date-timeOptional

Filter by expiration date greater than

expiration_date__gtestring · date-timeOptional

Filter by expiration date greater than or equal to

expiration_date__ltstring · date-timeOptional

Filter by expiration date less than

expiration_date__ltestring · date-timeOptional

Filter by expiration date less than or equal to

expiration_date__isnullbooleanOptional

Filter by whether expiration date is null

pk__instringOptional

Filter by multiple IDs (comma-separated)

is_activebooleanOptional

Filter by active status

namestringOptional

Filter by name

slugstringOptional

Filter by slug

Responses
chevron-right
200

OK

application/json
get
/api/v1/product_collections/

Create Product Collection

post

Create a new product collection

Authorizations
AuthorizationstringRequired
Query parameters
hyperbooleanOptional

Activate id to hyperlink the response data.

Body
namestring · max: 255Required

Name of the product collection

collection_typestring · enumRequired

Type of the product collection

Possible values:
catalogintegerRequired

Foreign key to Catalog model

is_activebooleanOptional

Whether the product collection is active

Default: true
sort_optioninteger | nullableOptional

Foreign key to SortOption model

expiration_datestring · date-time | nullableOptional

Date and time when the collection expires

selected_filtersstring[]Optional

List of selected filters for the collection

Responses
post
/api/v1/product_collections/

List Product Collections with details

get

List product collections with detailed information

Authorizations
AuthorizationstringRequired
Query parameters
pageinteger · min: 1Optional

Specifies the page number of the current dataset

Default: 1
limitinteger · min: 1Optional

Indicates the number of rows on the current page.

Default: 10
hyperbooleanOptional

Activate id to hyperlink the response data.

catalogintegerOptional

Filter by catalog ID

collection_typestring · enumOptional

Filter by collection type

Possible values:
expiration_date__gtstring · date-timeOptional

Filter by expiration date greater than

expiration_date__gtestring · date-timeOptional

Filter by expiration date greater than or equal to

expiration_date__ltstring · date-timeOptional

Filter by expiration date less than

expiration_date__ltestring · date-timeOptional

Filter by expiration date less than or equal to

expiration_date__isnullbooleanOptional

Filter by whether expiration date is null

pk__instringOptional

Filter by multiple IDs (comma-separated)

is_activebooleanOptional

Filter by active status

namestringOptional

Filter by name

slugstringOptional

Filter by slug

Responses
chevron-right
200

OK

application/json
get
/api/v1/product_collections/detailed/

List Product Collections with details (detailed_list action)

get

List product collections with detailed information using the detailed_list action

Authorizations
AuthorizationstringRequired
Query parameters
pageinteger · min: 1Optional

Specifies the page number of the current dataset

Default: 1
limitinteger · min: 1Optional

Indicates the number of rows on the current page.

Default: 10
hyperbooleanOptional

Activate id to hyperlink the response data.

catalogintegerOptional

Filter by catalog ID

collection_typestring · enumOptional

Filter by collection type

Possible values:
expiration_date__gtstring · date-timeOptional

Filter by expiration date greater than

expiration_date__gtestring · date-timeOptional

Filter by expiration date greater than or equal to

expiration_date__ltstring · date-timeOptional

Filter by expiration date less than

expiration_date__ltestring · date-timeOptional

Filter by expiration date less than or equal to

expiration_date__isnullbooleanOptional

Filter by whether expiration date is null

pk__instringOptional

Filter by multiple IDs (comma-separated)

is_activebooleanOptional

Filter by active status

namestringOptional

Filter by name

slugstringOptional

Filter by slug

Responses
chevron-right
200

OK

application/json
get
/api/v1/product_collections/detailed_list/

Last updated

Was this helpful?