Sitecore OrderCloud Documentation

docs

Portal login

Create or update an inventory record variant assignment.

POST

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

204

Roles

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

FullAccessInventoryAdminProductAdmin

Parameters

NameTypeDescriptionPossible Values
productIDRequiredstringID of the product.---
variantIDRequiredstringID of the variant.---

Request Body

PropertyTypeFormatMax LengthPossible Values
InventoryRecordIDRequiredstring---------
BuyerIDRequiredstring---------
UserGroupIDstring---------

Create or update an inventory record variant assignment.

POST

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

204

Roles

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

FullAccessInventoryAdminProductAdmin

Parameters

NameTypeDescriptionPossible Values
productIDRequiredstringID of the product.---
variantIDRequiredstringID of the variant.---

Request Body

PropertyTypeFormatMax LengthPossible Values
InventoryRecordIDRequiredstring---------
BuyerIDRequiredstring---------
UserGroupIDstring---------
Sitecore Logo

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

Contact Us
Privacy Policy
Sitecore