Return all your products

Retrieve a paginated list of all ecommerce products stored in your Brevo account. Results are sorted by creation date in descending order by default, and can be filtered by product IDs, name (minimum 3 characters), price range, category IDs, modification date, creation date, or deletion status. Pagination defaults to 50 products per page (maximum 1000), and the response includes a `count` field with the total number of matching products.

Authentication

api-keystring

The API key should be passed in the request headers as api-key for authentication.

Query parameters

limitlongOptional<=1000Defaults to 50
Number of documents per page
offsetlongOptionalDefaults to 0
Index of the first document in the page
sortenumOptionalDefaults to desc

Sort the results in the ascending/descending order of record creation. Default order is descending if sort is not passed

Allowed values:
idslist of stringsOptional
Filter by product ids
namestringOptional
Filter by product name, minimum 3 characters should be present for search.
price[lte]doubleOptional
Price filter for products less than and equals to particular amount
price[gte]doubleOptional
Price filter for products greater than and equals to particular amount
price[lt]doubleOptional
Price filter for products less than particular amount
price[gt]doubleOptional
Price filter for products greater than particular amount
price[eq]doubleOptional
Price filter for products equals to particular amount
price[ne]doubleOptional
Price filter for products not equals to particular amount
categorieslist of stringsOptional
Filter by categories ids
modifiedSincestringOptional

Filter (urlencoded) the products modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result.

createdSincestringOptional

Filter (urlencoded) the products created after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result.

sortByFieldenumOptional

Sort the results by a specific field. Default sort field is created_at when not passed.

Allowed values:
isDeletedstringOptional

Filter products by their deletion status. If false is passed, only products that are not deleted will be returned.

Response

All products listed
countlong
Number of products
productslist of objects

Errors

400
Bad Request Error