---
title: "Create a single new accounting vendor"
method: POST
path: "/vendors"
tags: ["vendors"]
---

# Create a single new accounting vendor

`POST /vendors`

Creates a new vendor with the provided details. The `erp_vendor_id` is required and will be mapped to both `accounting_id` and `dd_unique_key`.

## Headers

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

## Request body

- object
  - `ottimate_company_id` integer, required
  - `erp_vendor_name` string, required
  - `erp_vendor_id` string, required
  - `email` string
  - `phone` string
  - `net_terms` string
  - `payment_method` 'credit_card' | 'ach' | 'check' | 'wire_transfer' | 'unknown' — (Optional) Vendor payment method
  - `city` string — (Optional) Vendor city
  - `state` string — (Optional) Vendor state
  - `zipcode` string — (Optional) Vendor zipcode
  - `address_line_1` string — (Optional) Vendor address line 1
  - `address_line_2` string — (Optional) Vendor address line 2

## Response `201`

Successfully created

- VendorsPostVendorsRootResponse201
  - `version` string, required
  - `vendor` VendorsPostResponsesContentApplicationJsonSchemaVendor, required
    - `id` integer, required
    - `ottimate_company_id` integer, required
    - `erp_vendor_id` string, nullable
    - `erp_vendor_name` string, nullable
    - `email` string, nullable
    - `phone` string, nullable
    - `net_terms` string, nullable
    - `payment_method` 'credit_card' | 'ach' | 'check' | 'wire_transfer' | 'unknown'
    - `address_line_1` string, nullable
    - `address_line_2` string, nullable
    - `city` string, nullable
    - `state` string, nullable
    - `zipcode` string, nullable

## Other responses

- `400` — Bad request - Invalid parameters or request format

---

[API](https://skmtc.net/ottimate/apis/api-reference.md) · [All operations](https://skmtc.net/ottimate/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ottimate/api-reference/versions/3b3756010473/schema)
