v1

latestOpenAPI 3.0.32026-07-26710398.3 KB
Products

Delete Categories

Delete categories by id. Each one's child categories and products move up to its parent, then it is removed. Returns per-item results { deleted, rejected } — the batch never fails as a whole. Rejection reasons: not_found, name_conflict (a child moving up would clash with an existing sibling name).

post/categories/delete

Request body

project_idstring

Required if using a company api key

category_idsstring[] required

Example request

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

Response

Per-item delete results