Sitecore OrderCloud Documentation

docs

Portal login

Create or update a variant inventory record.

PUT

/products/{productID}/variants/{variantID}/inventoryrecords/{inventoryRecordID}

200

Roles

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

FullAccessProductAdmin

Parameters

NameTypeDescriptionPossible Values
productIDRequiredstringID of the product.---
variantIDRequiredstringID of the variant.---
inventoryRecordIDRequiredstringID of the inventory record.---

Request Body

PropertyTypeFormatMax LengthPossible Values
IDstring---100 characters---
OwnerIDstring---------
AllowAllBuyersboolean---------

AddressIDRequiredstring---------

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

Response Body

PropertyTypeFormatMax LengthPossible Values
IDstring---100 characters---
OwnerIDstring---------
AllowAllBuyersboolean---------

AddressRead Onlyobject---------
AddressIDstring---------

OrderCanExceedboolean---------
QuantityAvailableintegerint32------
NotificationPointintegerint32------
LastUpdatedRead Onlystringdate-time------
xpobject---------
Sitecore Logo

© Copyright 2024, Sitecore OrderCloud®. All rights reserved.

Contact Us
Privacy Policy
Sitecore