v1

latestOpenAPI 3.0.2EULA2026-07-143221521.2 MB
Product groups

Create a batch of product groups. If a group already exists, an update is applied.

Batch process helps to add multiple product groups in one request. ⚠️ Endpoint is available only in the Enterprise interface.

post/product-groups/batch

Headers

Accept-Languagestring

The unique ID of the language code by ISO 639-1.

Request body

error_processing1 | 2

The parameter describes the batch method behavior in case of error occurs. Possible values are: 1 - It returns the first error found and rollback all previous changes (this is also the default behavior if the parameter is not set) / 2 - It creates all valid records and creates an error report from failed attempts.

Example request

{
  "product_groups": [
    {
      "product_group_id": "8fd73167342d06899c4c015320",
      "name": "Accessories",
      "parent_product_group_id": "83d1d11ea3884a5d33253fe214",
      "parent_external_id": "678",
      "code": "567829",
      "external_id": "953",
      "store_id": "83d1d11ea3884a5d33253fe214",
      "partner_id": "86e05affc7a7abefcd513ab400",
      "last_change": "2021-04-16 15:55:44.33538",
      "state": 1
    }
  ]
}

Response

No Content