Sitecore OrderCloud Documentation

docs

Portal login

Inventory records

Inventory records represent physical locations where inventory for a given product exists. Use of inventory records will prevent writing to Product.Inventory.QuantityAvailable, which will instead be a sum of inventories across all locations associated to the product.

InventoryRecords.List

List inventory records

get

v1/products/{productID}/inventoryrecords

InventoryRecords.Create

Create an inventory record

post

v1/products/{productID}/inventoryrecords

InventoryRecords.ListAssignments

List inventory record assignments

get

v1/products/{productID}/inventoryrecords/assignments

InventoryRecords.SaveAssignment

Create or update an inventory record assignment

post

v1/products/{productID}/inventoryrecords/assignments

InventoryRecords.Get

Retrieve an inventory record

get

v1/products/{productID}/inventoryrecords/{inventoryRecordID}

InventoryRecords.Save

Create or update an inventory record

put

v1/products/{productID}/inventoryrecords/{inventoryRecordID}

InventoryRecords.Delete

Delete an inventory record

delete

v1/products/{productID}/inventoryrecords/{inventoryRecordID}

InventoryRecords.Patch

Partially update an inventory record

patch

v1/products/{productID}/inventoryrecords/{inventoryRecordID}

InventoryRecords.DeleteAssignment

Delete an inventory record assignment

delete

v1/products/{productID}/inventoryrecords/{inventoryRecordID}/assignments

InventoryRecords.ListVariant

Get a list of variant inventory records

get

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

InventoryRecords.CreateVariant

Create a new variant inventory record

post

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

InventoryRecords.ListVariantAssignments

List inventory record variant assignments

get

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

InventoryRecords.SaveVariantAssignment

Create or update an inventory record variant assignment

post

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

InventoryRecords.GetVariant

Get a single variant inventory record

get

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

InventoryRecords.SaveVariant

Create or update a variant inventory record

put

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

InventoryRecords.DeleteVariant

Delete a variant inventory record

delete

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

InventoryRecords.PatchVariant

Partially update a variant inventory record

patch

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

InventoryRecords.DeleteVariantAssignment

Delete an inventory record variant assignment

delete

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

Sitecore Logo

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

Contact Us
Privacy Policy
Sitecore