v1

latestOpenAPI 3.0.12026-07-24501176.6 MB

Create Product Categories

Creates new product categories in bulk.

Code uniqueness: Category codes are validated case-insensitively. For example, "CATEGORY1" and "category1" are treated as duplicates. The same code can exist for different organizational units (ouCode).

post/v2/product/categories

Request body

codestring

Unique identifier for the category. Codes are validated case-insensitively—"CATEGORY1" and "category1" are treated as duplicates. The same code can exist for different organizational units (ouCode).

namestring

Display name for the category.

ouCodestring

Organizational unit code. When specified, category code uniqueness is scoped to this organizational unit, allowing the same category code to exist in different organizational units.

Example request

[
  {
    "code": "Tables",
    "name": "Tables",
    "ouCode": "krishna.ou1"
  }
]

Response

Successful response