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

Get a list of inventory records.

get

v1/products/{productID}/inventoryrecords

InventoryRecords.Create

Create a new inventory record.

post

v1/products/{productID}/inventoryrecords

InventoryRecords.ListAssignments

Get a list of 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

Get a single 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

Get a list of 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 2024, Sitecore OrderCloud®. All rights reserved.

Contact Us
Privacy Policy
Sitecore