Loading...
Area: Episerver Service API
Applies to versions: 4 and higher
Other versions:

Catalog entry warehouse inventories

Recommendations [hide]

This topic describes how to work with RESTful operations for catalog entry warehouse inventories in the Episerver Service API.

In this topic

Special strings

These properties require special values to function properly.

InventoryStatus

  • Enabled
  • Disabled
  • Ignored

Example models

[Serializable]
public class WarehouseInventory
  {
    public string CatalogEntryCode { get; set; }
    public string WarehouseCode { get; set; }
    public ResourceLink WarehouseLink { get; set; }
    public decimal InStockQuantity { get; set; }    
    public decimal ReservedQuantity { get; set; }    
    public decimal ReorderMinQuantity { get; set; }
    public decimal PreorderQuantity { get; set; }
    public decimal BackorderQuantity { get; set; }
    public bool AllowBackorder { get; set; }
    public bool AllowPreorder { get; set; }
    public string InventoryStatus { get; set; }
    public DateTime? PreorderAvailabilityDate { get; set; }
    public DateTime? BackorderAvailabilityDate { get; set; }
    public DateTime? PurchaseAvailableDate { get; set; }
  }

Get All Entry Warehouse Inventories

/episerverapi/commerce/entries/{entry code}/inventories

Client Code Media Type JSON

Response JSON

Client Code Media Type XML

Response XML

Get Entry Warehouse Inventory

/episerverapi/commerce/entries/{entry code}/inventories/{warehouse code}

Client Code Media Type JSON

Response JSON

Client Code Media Type XML

Response XML

Post Entry Warehouse Inventory

/episerverapi/commerce/entries/{entry code}/inventories

Client Code Media Type JSON

Response JSON

Client Code Media Type XML

Response XML

Put Entry Warehouse Inventory

/episerverapi/commerce/entries/{entry code}/inventories/{warehouse code}

Client Code Media Type JSON

Response JSON

Client Code Media Type XML

Response XML

Delete Entry Warehouse Inventory

/episerverapi/commerce/entries/{entry code}/inventories/{warehouse code}

Client Code Media Type JSON

Response JSON

Client Code Media Type XML

Response XML

Related topics

Do you find this information helpful? Please log in to provide feedback.

Last updated: Aug 14, 2017

Recommendations [hide]