v1

latestOpenAPI 3.0.32026-07-26710398.3 KB
Products

Create Categories

Create product categories. Each item takes a name and an optional parent_id (omit or null for a top-level category). Items apply in order. Returns per-item results { created, rejected } — the batch never fails as a whole. Rejection reasons: parent_not_found, name_conflict (a sibling already has that name).

post/categories/create

Request body

project_idstring

Required if using a company api key

Example request

{
  "project_id": "or_f45b94ba-5e35-4982-93ed-285e72ee14eb"
}

Response

Per-item create results