Collect List

The Collect List API allows you to retrieve a list of collects based on the specified query parameters. It enables you to filter collects by collection_id or product_id and paginate the results using page and limit parameters. This endpoint is ideal for managing the relationships between products and collections.

Response Explanation

Collect Response Fields

Status CodeMessagePossible ReasonExample Response
400Bad RequestInvalid input format or request structure (e.g., missing required fields or incorrect data types).Bad Request
UnauthorizedThe request is missing valid authentication credentials or the credentials provided are invalid.Unauthorized
422Invalid or empty product_id or collection_idmissing required product_id, collection_id, or with incorrect UUID types{ "errors": [ "CollectionID must be a valid UUID", "ProductID must be a valid UUID"]}
product_id not foundThe provided product_id does not exist in the database.{ "errors": [ "ProductID must be a valid UUID"]}
Invalid pagination parametersThe page or limit parameters are not valid (e.g., page <= 0, limit <= 0).{ "errors": [ "Page must be greater than 0", "Limit must be greater than 0"] }
Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!