---
title: "Create products in batch"
method: POST
path: "/products/batch"
tags: ["Ecommerce"]
---

# Create products in batch

`POST /products/batch`

## Request body

- CreateUpdateBatchProducts
  - `products` CreateUpdateProducts[], required — array of products objects
    - `id` string, string, required — Product ID for which you requested the details
    - `name` string, string, required — Mandatory in case of creation**. Name of the product for which you requested the details
    - `url` string, string — URL to the product
    - `imageUrl` string, string — Absolute URL to the cover image of the product
    - `sku` string, string — Product identifier from the shop
    - `price` number, float — Price of the product
    - `categories` string[] — Category ID-s of the product
    - `parentId` string, string — Parent product id of the product
    - `metaInfo` object — Meta data of product such as description, vendor, producer, stock level. The size of cumulative metaInfo shall not exceed **1000 KB**. Maximum length of metaInfo object can be 10.
    - `deletedAt` string — UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) of the product deleted from the shop's database
    - `isDeleted` boolean — product deleted from the shop's database
  - `updateEnabled` boolean — Facilitate to update the existing categories in the same request (updateEnabled = true)

## Response `201`

Products created and updated

- CreateUpdateBatchProductsModel
  - `createdCount` integer — Number of the new created products
  - `updatedCount` integer — Number of the existing products updated

## Other responses

- `400` — bad request

---

[API](https://skmtc.net/getbrevo/apis/brevo-api.md) · [All operations](https://skmtc.net/getbrevo/apis/brevo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getbrevo/brevo-api/versions/2aec3cf66501/schema)
