Search

Index

Revindex Storefront

ProductInventory

Last updated on 2024-08-09 7 mins. to read

The ProductInventory is used to track the inventory of physical stores.

DeleteProductInventory

This service is used to delete a ProductInventory object.

Request Parameters

Node Required Data Type Description
productInventoryID Yes Integer The object identifier.

 

Return Data

None


GetProductInventory

This service is used to query the ProductInventory object.

Request Parameters

Node Required Data Type Description
productInventoryID Yes Integer The object identifier.

 

Return Data

Node Data Type Description
productInventory XML Container node.
  createDate DateTime Creation date.
  inventory Integer  
  maxInventory Integer  
  minInventory Integer  
  productInventoryID Integer The object identifier.
  productVariantID Integer The product variant object identifier associated to this Inventory.
  updateDate DateTime Update date.
  warehouseID Integer The warehouse object identifier associated to this Inventory.

 


GetProductInventoriesByProductVariant

This service is used to get all the ProductInventory objects belonging to the ProductVariant.

Request Parameters

Node Required Data Type Description
count No Boolean Specify if return data should include total number of records found.
productVariantID Yes Integer The ProductVariant object identifier.
skip No Integer The number of records to skip over for paging purposes.
take No Integer The number of records to return for paging purposes.

 

Return Data

Node Data Type Description
productInventories XML Container node
  productInventory XML Zero or more productInventory nodes with same data structure as GetProductInventory service return data.

 


InsertProductInventory

This service is used to create a new ProductInventory object.

Request Parameters

Node Required Data Type Description
inventory No Integer  
maxInventory No Integer  
minInventory No Integer  
productVariantID Yes Integer The reference ProductVariant identifier this ProductInventory belongs to.
warehouseID Yes Integer The reference Warehouse identifier this ProductInventory belongs to.

 

Return Data

Same as GetProductInventory service return data.


UpdateProductInventory

This service is used to update a ProductInventory object.

Request Parameters

Node Required Data Type Description
inventory No Integer  
maxInventory No Integer  
minInventory No Integer  
productInventoryID Yes Integer The object identifier.
productVariantID Yes Integer The reference ProductVariant identifier this ProductInventory belongs to.
warehouseID Yes Integer The reference Warehouse identifier this ProductInventory belongs to.

 

Return Data

Same as GetProductInventory service return data.

Comments


Powered by Revindex Wiki