Skip to main content
Get the products in one collection, a page at a time.
GET

Authorization

Use your public or secret key.
string
required
Bearer followed by your public or secret key.

Path Parameters

string
required
The collection’s id, from All collections.

Query Parameters

integer
default:"20"
How many products per page, from 1 to 100. Above 100 returns 100.
string
The nextCursor from the previous page. Leave it out for the first page.

Response

Returned with status 200. Same shape as All products.
Newest first. Pass nextCursor as cursor to get the next page. null means it’s the last page.

Error Responses

Returned with status 400 when limit is below 1 or not a whole number.
Returned with status 404 when there’s no collection with this id in the store.
Returned with status 500 when something went wrong on Baag’s side. Retry.
Key errors (401, 403, 429) are on API keys.