Create an inventory site
Creates a new inventory site.
Authorizations
Your Conductor secret key using Bearer auth (e.g., "Authorization: Bearer {{YOUR_SECRET_KEY}}"
).
Headers
The ID of the EndUser to receive this request (e.g., "Conductor-End-User-Id: {{END_USER_ID}}"
).
Body
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.
31
Indicates whether this inventory site is active. Inactive objects are typically hidden from views and reports in QuickBooks. Defaults to true
.
The parent inventory site one level above this one in the hierarchy.
A description of this inventory site.
The inventory site's email address.
The inventory site's address.
Response
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.
The type of object. This value is always "qbd_inventory_site"
.
"qbd_inventory_site"
The date and time when this inventory site was created, in ISO 8601 format (YYYY-MM-DDThh:mm:ss±hh:mm). The time zone is the same as the user's time zone in QuickBooks.
The date and time when this inventory site was last updated, in ISO 8601 format (YYYY-MM-DDThh:mm:ss±hh:mm). The time zone is the same as the user's time zone in QuickBooks.
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.
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.
Indicates whether this inventory site is active. Inactive objects are typically hidden from views and reports in QuickBooks. Defaults to true
.
The parent inventory site one level above this one in the hierarchy.
Indicates whether this inventory site is the default site used when no specific site is provided during the creation of other objects.
A description of this inventory site.
The name of the primary contact person for this inventory site.
The inventory site's primary telephone number.
The inventory site's fax number.
The inventory site's email address.
The inventory site's address.