---
title: "Create an inventory site"
method: POST
path: "/quickbooks-desktop/inventory-sites"
---

# Create an inventory site

`POST /quickbooks-desktop/inventory-sites`

Creates an inventory site for companies using QuickBooks Enterprise with Advanced Inventory.

## Headers

- `Conductor-End-User-Id` string, required — The ID of the End-User to receive this request.

## Request body

- object
  - `name` string, required — The case-insensitive unique name of this inventory site, unique across all inventory sites. **NOTE**: Inventory sites do not have a `fullName` field because they are not hierarchical objects, which is why `name` is unique for them but not for objects that have parents. Maximum length: 31 characters.
  - `isActive` boolean — Indicates whether this inventory site is active. Inactive objects are typically hidden from views and reports in QuickBooks. Defaults to `true`.
  - `parentId` string — The parent inventory site one level above this one in the hierarchy.
  - `description` string — A description of this inventory site.
  - `email` string — The inventory site's email address.
  - `address` object — The inventory site's address.
    - `line1` string — The first line of the site address (e.g., street, PO Box, or company name). Maximum length: 41 characters.
    - `line2` string — The second line of the site address, if needed (e.g., apartment, suite, unit, or building). Maximum length: 41 characters.
    - `line3` string — The third line of the site address, if needed. Maximum length: 41 characters.
    - `line4` string — The fourth line of the site address, if needed. Maximum length: 41 characters.
    - `line5` string — The fifth line of the site address, if needed. Maximum length: 41 characters.
    - `city` string — The city, district, suburb, town, or village name of the site address. Maximum length: 31 characters.
    - `state` string — The state, county, province, or region name of the site address. Maximum length: 21 characters.
    - `postalCode` string — The postal code or ZIP code of the site address. Maximum length: 13 characters.
    - `country` string — The country name of the site address.

## Response `200`

Returns the newly created inventory site.

- QbdInventorySite
  - `id` string, required — The unique identifier assigned by QuickBooks to this inventory site. This ID is unique across all inventory sites but not across different QuickBooks object types.
  - `objectType` 'qbd_inventory_site', required — The type of object. This value is always `"qbd_inventory_site"`.
  - `createdAt` string, required — The date and time when this inventory site was created, in ISO 8601 format (YYYY-MM-DDThh:mm:ss±hh:mm), which QuickBooks Desktop interprets in the local timezone of the end-user's computer.
  - `updatedAt` string, required — The date and time when this inventory site was last updated, in ISO 8601 format (YYYY-MM-DDThh:mm:ss±hh:mm), which QuickBooks Desktop interprets in the local timezone of the end-user's computer.
  - `revisionNumber` string, required — The current QuickBooks-assigned revision number of this inventory site object, which changes each time the object is modified. When updating this object, you must provide the most recent `revisionNumber` to ensure you're working with the latest data; otherwise, the update will return an error.
  - `name` string, required — The case-insensitive unique name of this inventory site, unique across all inventory sites. **NOTE**: Inventory sites do not have a `fullName` field because they are not hierarchical objects, which is why `name` is unique for them but not for objects that have parents.
  - `isActive` boolean, required — Indicates whether this inventory site is active. Inactive objects are typically hidden from views and reports in QuickBooks. Defaults to `true`.
  - `parent` object, nullable, required — The parent inventory site one level above this one in the hierarchy.
    - `id` string, nullable, required — The unique identifier assigned by QuickBooks to this object. This ID is unique across all objects of the same type, but not across different QuickBooks object types.
    - `fullName` string, nullable, required — The fully-qualified unique name for this object, formed by combining the names of its parent objects with its own `name`, separated by colons. Not case-sensitive.
  - `isDefault` boolean, nullable, required — Indicates whether this inventory site is the default site used when no specific site is provided during the creation of other objects.
  - `description` string, nullable, required — A description of this inventory site.
  - `contact` string, nullable, required — The name of the primary contact person for this inventory site.
  - `phone` string, nullable, required — The inventory site's primary telephone number.
  - `fax` string, nullable, required — The inventory site's fax number.
  - `email` string, nullable, required — The inventory site's email address.
  - `address` QbdSiteAddress, required
    - `line1` string, nullable, required — The first line of the site address (e.g., street, PO Box, or company name).
    - `line2` string, nullable, required — The second line of the site address, if needed (e.g., apartment, suite, unit, or building).
    - `line3` string, nullable, required — The third line of the site address, if needed.
    - `line4` string, nullable, required — The fourth line of the site address, if needed.
    - `line5` string, nullable, required — The fifth line of the site address, if needed.
    - `city` string, nullable, required — The city, district, suburb, town, or village name of the site address.
    - `state` string, nullable, required — The state, county, province, or region name of the site address.
    - `postalCode` string, nullable, required — The postal code or ZIP code of the site address.
    - `country` string, nullable, required — The country name of the site address.

---

[API](https://skmtc.net/conductor-is/apis/conductor-api.md) · [All operations](https://skmtc.net/conductor-is/apis/conductor-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/conductor-is/conductor-api/revisions/0b07b3ebe160/schema)
