Create an inventory site
Creates an inventory site for companies using QuickBooks Enterprise with Advanced Inventory.
Headers
The ID of the End-User to receive this request.
The ID of the End-User to receive this request.
Request body
Example request
{
"name": "Stockroom",
"isActive": true,
"parentId": "80000001-1234567890",
"description": "Main Stockroom for Electronics",
"email": "inventory-site@example.com",
"address": {
"line1": "Conductor Labs Inc.",
"line2": "540 Market St.",
"line3": "Suite 100",
"city": "San Francisco",
"state": "CA",
"postalCode": "94110",
"country": "United States"
}
}Response
Returns the newly created inventory site.
Example response
{
"id": "80000001-1234567890",
"objectType": "qbd_inventory_site",
"createdAt": "2025-01-01T12:34:56+00:00",
"updatedAt": "2025-02-01T12:34:56+00:00",
"revisionNumber": "1721172183",
"name": "Stockroom",
"isActive": true,
"parent": {
"id": "80000001-1234567890",
"fullName": "Romulus Warehouse:Stockroom"
},
"isDefault": true,
"description": "Main Stockroom for Electronics",
"contact": "Jane Smith",
"phone": "+1-555-123-4567",
"fax": "+1-555-555-1212",
"email": "inventory-site@example.com",
"address": {
"line1": "Conductor Labs Inc.",
"line2": "540 Market St.",
"line3": "Suite 100",
"city": "San Francisco",
"state": "CA",
"postalCode": "94110",
"country": "United States"
}
}Changes
Changed in 4 of the 46 revisions of this API.27116
- ●
the
parentIdrequest property's maxLength was set to36request-property-max-length-set
- ●
- ▲
response property
contactlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
descriptionlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
emaillist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
faxlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
isDefaultlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
phonelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
the
parentresponse's property type/format changed fromobjectnull/to/for status200response-property-type-changed
- ▲
removed the required property
parent/fullNamefrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
parent/idfrom the response with the200statusresponse-required-property-removed
- ○
added
qbd_site_addresssubschema #2to theaddressresponse propertyanyOflist for the response status200response-property-any-of-added
- ○
added
subschema #1subschema #2to theparentresponse propertyanyOflist for the response status200response-property-any-of-added
- ○
removed
qbd_site_addresssubschema #2from theaddressresponse propertyoneOflist for the response status200response-property-one-of-removed
- ▲
- ▲
the response property
contactbecame nullable for the status200response-property-became-nullable
- ▲
the response property
descriptionbecame nullable for the status200response-property-became-nullable
- ▲
the response property
emailbecame nullable for the status200response-property-became-nullable
- ▲
the response property
faxbecame nullable for the status200response-property-became-nullable
- ▲
the response property
isDefaultbecame nullable for the status200response-property-became-nullable
- ▲
the response property
parentbecame nullable for the status200response-property-became-nullable
- ▲
the response property
phonebecame nullable for the status200response-property-became-nullable
- ▲
added
qbd_site_addresssubschema #2to theaddressresponse propertyoneOflist for the response status200response-property-one-of-added
- ▲
the
parentresponse's property type/format changed from/toobjectnull/for status200response-property-type-changed
- ○
removed
qbd_site_addresssubschema #2from theaddressresponse propertyanyOflist for the response status200response-property-any-of-removed
- ○
removed
subschema #1subschema #2from theparentresponse propertyanyOflist for the response status200response-property-any-of-removed
- ○
response property
contactlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ○
response property
descriptionlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ○
response property
emaillist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ○
response property
faxlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ○
response property
isDefaultlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ○
response property
phonelist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ○
added the required property
parent/fullNameto the response with the200statusresponse-required-property-added
- ○
added the required property
parent/idto the response with the200statusresponse-required-property-added
- ▲
- ▲
response property
contactlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
descriptionlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
emaillist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
faxlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
isDefaultlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
phonelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
the
parentresponse's property type/format changed fromobjectnull/to/for status200response-property-type-changed
- ▲
removed the required property
parent/fullNamefrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
parent/idfrom the response with the200statusresponse-required-property-removed
- ○
added
qbd_site_addresssubschema #2to theaddressresponse propertyanyOflist for the response status200response-property-any-of-added
- ○
added
subschema #1subschema #2to theparentresponse propertyanyOflist for the response status200response-property-any-of-added
- ○
removed
qbd_site_addresssubschema #2from theaddressresponse propertyoneOflist for the response status200response-property-one-of-removed
- ▲