Skip to navigation

Create or update multiple accounting vendors

Deprecated

Allows for the creation or updating of multiple vendors in a single request. Maximum 100 vendors per request.

Vendors are saved one by one. If some fail, the others are still saved: the response lists the failed ones in failures and counts them in fail_count. If every vendor fails, the response is a 400 with code VEN4000, and message holds the same object with success_count 0 and the reasons in failures.

Deprecation notice: This synchronous endpoint is deprecated for high-volume use. Use POST /vendors/bulk-async instead — it avoids request timeouts on large batches and provides progress tracking via the batch polling API. This endpoint remains fully supported for existing integrations.

Authentication

AuthorizationBearer
OAuth2 authentication flows. Auth server URLs will vary by environment

Headers

X-Api-KeystringRequired
API key for authentication
X-API-VersionstringOptional

API version to use (optional, defaults to latest). Supported values: 1.0.0, 1.1.0.

Idempotency-KeystringOptionalformat: "^[A-Za-z0-9._\-+=/]{1,128}$"<=128 characters

Client-generated unique key (UUID/ULID recommended). JSON requests: the first 2xx response is cached for 24h and replayed on a same-key retry with a matching body; a different body returns 422. Non-JSON requests (e.g. file uploads): the key is single-use — any same-key retry returns 422 regardless of body. See Idempotency for full details.

Request

This endpoint expects an object.
ottimate_company_idintegerRequired
vendorslist of objectsRequired

Response

Successfully created or updated
versionstringOptional
success_countintegerOptional
created_countintegerOptional
updated_countintegerOptional
fail_countintegerOptional

(Beta — this field is available in sandbox and not yet in production.)

createdlist of objectsOptional
updatedlist of objectsOptional
failureslist of objectsOptional

(Beta — this field is available in sandbox and not yet in production.)

Errors

400
Bad Request Error
403
Forbidden Error
422
Unprocessable Entity Error