---
title: "Bulk create/update catalog allowances (async)"
method: POST
path: "/catalog/allowances/bulk"
tags: ["catalog"]
---

# Bulk create/update catalog allowances (async)

`POST /catalog/allowances/bulk`

Creates or updates multiple catalog allowances asynchronously. Returns 202 with batch tracking info. Maximum 1000 allowances per request. Poll GET /batch/{id}/progress for status.

**Deprecation notice:** The previous synchronous bulk API has been deprecated. This async endpoint is the recommended behavior going forward — it avoids timeouts on large batches and provides progress tracking via the batch polling API.

## Headers

- `Authorization` string, required
- `X-Api-Key` string, required
- `X-API-Version` string
- `Idempotency-Key` string

## Request body

- object
  - `ottimate_company_id` integer, required — Company ID these allowances belong to.
  - `allowances` CatalogAllowancesBulkPostRequestBodyContentApplicationJsonSchemaAllowancesItems[], required — Allowances to create. Each catalog_entry_id must belong to ottimate_company_id.
    - `catalog_entry_id` string, required — ID of the catalog entry this allowance applies to.
    - `allowance_type` string
    - `amount` number, double, nullable
    - `unit_allowance` number, double
    - `percent_allowance` number, double
    - `target` 'company' | 'location_group' | 'location'
    - `ottimate_location_id` integer, nullable
    - `ottimate_group_id` integer, nullable
    - `start_date` string, date-time, required
    - `end_date` string, date-time, nullable
    - `reference_id` string, nullable

## Response `202`

Asynchronous processing started. Poll batch_url for status.

- CatalogAllowancesBulkAsyncResponse — Response returned immediately when a bulk allowances request is accepted for async processing.
  - `version` string, required — API version of this response
  - `status` string, required — Processing status
  - `batch_id` string, required — Unique identifier for this batch job. Use to poll for progress.
  - `batch_url` string, required — URL to poll for batch progress (GET)
  - `results_url` string, required — URL to retrieve batch results once completed (GET)
  - `summary` CatalogAllowancesBulkAsyncResponseSummary, required — Summary of the submitted request
    - `count` integer — Number of allowances submitted for processing

## Other responses

- `400` — Bad request - Invalid parameters or request format
- `401` — Unauthorized - Authentication required or invalid credentials
- `403` — Forbidden - Access denied or insufficient permissions

---

[API](https://skmtc.dev/ottimate/apis/api-reference.md) · [All operations](https://skmtc.dev/ottimate/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ottimate/api-reference/revisions/ba91ff4c6969/schema)
