Create or update an inventory record

PUT
/products/{productID}/inventoryrecords/{inventoryRecordID}

Description

If an object with the same ID already exists, it will be overwritten.

Roles

At least one of the roles below is required to access this endpoint

FullAccess
ProductAdmin

Parameters

NameTypeDescriptionPossible Values
productIDstringID of the product.---
inventoryRecordIDstringID of the inventory record.---

Request Body

PropertyTypeFormatMax LengthPossible Values
IDstring---100 characters---
OwnerIDstring---------
AddressID
Required
string---------

OrderCanExceedboolean---------
QuantityAvailableintegerint32------
xpobject---------

Response Body

PropertyTypeFormatMax LengthPossible Values
IDstring---100 characters---
OwnerIDstring---------
Address
Read Only
object---------
PropertyTypeFormatMax LengthPossible Values
ID
Read Only
string---100 characters---
DateCreated
Read Only
stringdate-time------
CompanyName
Read Only
string---100 characters---
FirstName
Read Only
string---100 characters---
LastName
Read Only
string---100 characters---
Street1
Read Only
string---100 characters---
Street2
Read Only
string---100 characters---
City
Read Only
string---100 characters---
State
Read Only
string---100 characters---
Zip
Read Only
string---100 characters---
Country
Read Only
string---2 characters---
Phone
Read Only
string---100 characters---
AddressName
Read Only
string---100 characters---
xp
Read Only
object---------
AddressIDstring---------

OrderCanExceedboolean---------
QuantityAvailableintegerint32------
LastUpdated
Read Only
stringdate-time------
xpobject---------