---
title: "Bulk upsert taxonomy terms"
method: POST
path: "/taxonomies/bulk"
tags: ["Taxonomies"]
---

# Bulk upsert taxonomy terms

`POST /taxonomies/bulk`

## Request

- Base URL: `https://api.savanto.ai`
- URL: `https://api.savanto.ai/taxonomies/bulk`
- Auth: HTTP bearer

Create or update up to 100 taxonomy terms in a single request.

## Request body

- object
  - `entities` TaxonomyInput[], required
    - `id` string, required
    - `name` string, required
    - `slug` string, required
    - `taxonomyName` string, required
    - `description` string
    - `count` integer
    - `parent` integer
    - `meta` union
      - object
      - unknown[]
        - unknown
    - `source` string
    - `termId` integer
    - `taxonomyLabel` string
    - `hierarchy` string[]
    - `thumbnailUrl` string
    - `displayType` string
    - `isProductAttribute` boolean
    - `attributeType` string
    - `swatch` unknown
    - `type` string
  - `refresh` 'true' | 'false' | 'wait_for'

## Response `200`

Bulk upsert completed

- object
  - `object` 'bulk_operation', required
  - `requestId` string, required
  - `data` object, required
    - `processed` number, required
    - `succeeded` string[], required
    - `failed` object[], required
      - `id` string
      - `error` string, required
    - `skipped` number
    - `indexingLimitReached` boolean

## Other responses

- `400`: Validation error
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `409`: Conflict
- `413`: Payload too large
- `429`: Rate limit exceeded

---

[API](https://skmtc.dev/savanto/apis/savanto-api.md) · [All operations](https://skmtc.dev/savanto/apis/savanto-api/llms.txt) · [OpenAPI document](https://skmtc.dev/savanto/apis/savanto-api/revisions/82437327a878?raw)
