Inventory List Import

Salesforce B2C Commerce imports an Inventory List record and its associated Product Inventory Records via an XML file. The structure of the XML file follows the semantic of the XML inventory.xsd schema definition.

A typical import file is shown in the following example:

<?xml version="1.0" encoding="UTF-8" ?>

Specify the inventory.xsd file that defines the schema.

<inventory xmlns="">

ProductInventoryRecord Objects


Set the stock level at 10 for product "ProductWithAllocation".

			<record product-id="ProductWithAllocation">

Set the stock level at 10 and the backorder allocation at 10 for product " ProductWithBackorderAllocation ".

			<record product-id="ProductWithBackorderAllocation">

Define "ProductWithPerpetualFlag" as a product always in stock.

			<record product-id="ProductWithPerpetualFlag">

Related Links

Inventory List Object Import/Export