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.
/v1/catalog/collections/{collectionId}/productsReturns a paginated product summary for a collection. Use this endpoint to render collection products instead of loading raw product IDs from the collection detail.
Authorization
bearerAuth OAuth2 access token issued by Ecomiq Auth.
In: header
Path Parameters
Identifier of the collection.
Query Parameters
Maximum number of results to return.
int32Opaque cursor from the previous response. Omit it on the first page.
Free-text filter. Which fields it covers depends on the resource.
Field to sort by. Accepted values depend on the resource.
Sort direction: asc or desc.
Value in
- "asc"
- "desc"
Header Parameters
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://example.com/v1/catalog/collections/7204558912004325301/products" \ -H "x-Store-Id: <store-id>" \ -H "Authorization: Bearer <token>"{ "data": [ { "id": "7204558912004325301", "name": "Example resource", "slug": "example-resource", "sku": "SKU-001", "price": 1, "compareAtPrice": 1, "currency": "PEN", "imageUrl": "https://example.com/resource", "status": "draft", "sortOrder": 1, "isPinned": false } ], "hasNextPage": false, "nextCursor": "example", "totalCount": 1}