CatalogCollections
List collection products
Returns a paginated product summary for a collection. Use this endpoint to render collection products instead of loading raw product IDs from the collection detail.
Path Parameters
collectionId*string
Identifier of the collection.
Query Parameters
limit?integer
Maximum number of results to return.
Format
int32cursor?string
Cursor from the previous response. Omit it on the first page.
search?string
Free-text search.
sortBy?string
Field to sort by.
sortDirection?string
Sort direction: asc or desc.
Value in
- "asc"
- "desc"
Header Parameters
x-Store-Id?string
Store the request acts on. Not needed when the token is bound to a store.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://api.ecomiq.pe/api/v1/catalog/collections/7204558912004326958/products" \ -H "x-Store-Id: <store-id>" \ -H "Authorization: Bearer <token>"{ "data": [ { "id": "7204558912004322039", "name": "Polo de algodón", "slug": "polo-de-algodon", "sku": "POL-001-AZ-M", "price": 89, "compareAtPrice": 99, "currency": "PEN", "imageUrl": "https://mi-tienda.ecomiq.app/images/polo-de-algodon.webp", "status": "draft", "sortOrder": 1, "isPinned": false } ], "hasNextPage": true, "nextCursor": "eyJpZCI6IjcyMDQ1NTg5MTIwMDQzMjUzMDEifQ", "totalCount": 24}