Ecommerce

Create products in batch

post/products/batch

Request

  • Base URL: https://api.brevo.com/v3
  • URL: https://api.brevo.com/v3/products/batch
  • Auth: one of:
    • API key in header api-key
    • API key in header partner-key

Request body

updateEnabledboolean

Facilitate to update the existing categories in the same request (updateEnabled = true)

Example request

{
  "products": [
    {
      "id": "P11",
      "name": "Iphone 11",
      "url": "http://mydomain.com/product/electronics/product1",
      "imageUrl": "http://mydomain.com/product-absoulte-url/img.jpeg",
      "metaInfo": {
        "description": "Shoes for sports",
        "brand": "addidas"
      },
      "deletedAt": "2017-05-12T12:30:00.000+0000",
      "isDeleted": true
    }
  ]
}

Response

Products created and updated

createdCountinteger

Number of the new created products

updatedCountinteger

Number of the existing products updated

Example response

{
  "createdCount": 7,
  "updatedCount": 5
}

Changes

No recorded changes to this operation across all 2 revisions of this API.