Manage products
After importing your product categories, manage your product inventory using the steps below.
Requirements
To create and manage products in your eCommerce store, you need access to the Brevo eCommerce app. If you haven’t activated the eCommerce platform on your account, see eCommerce > Add the eCommerce App.
Create a product
To integrate your store with Brevo, create products. See the API endpoint reference at eCommerce > Create/Update a product.
The cURL request is:
Use the cURL request above to create a product. Parameters used to create a product:
Create products in a batch
When you have multiple products to create, use the endpoint eCommerce > Creates the products in a batch. Instead of calling the single-product endpoint multiple times, create them all in one batch. The cURL request for batch product creation is:
Batch limits
You can create up to 100 products in a single batch. Sample JSON to create products in batches is below.
The parameters match those in Create a product, but products are sent in batches. Parameters for creating products in batches:
Update a product
To update an existing product, set updateEnabled to true. The field accepts true or false. Products cannot be updated when this field is false.
To allow later updates, set this field to true when creating the product.
Responses you should expect
See the list of errors here.
Retrieving all products
Test the API to get all products at eCommerce > Return all your products. The cURL request is below.
The parameters for this endpoint are:
How to get a product’s details?
Get a specific product’s details by sending a GET request with the product ID. Test this endpoint at eCommerce > Get a product’s details.
The cURL request above sends the request to the endpoint. id is the only parameter for this endpoint — it is the product’s unique identifier.