.csv
file. For details, see the Update Product Information section. If you are already using fabric’s Product Catalog to maintain product information, ignore this step.sku
, itemId
, location
, channelId
, and counters
. You can provide other details to configure the inventory based on your requirements. For details, see the Create Inventory section.
onHand
counter to represent the inventory quantity that’s currently in stock for selling. Per the onHand
counter value passed in the request body, availableToPurchase
(the virtual counter) quantity is calculated, based on the formula onHand - allocated - shipped - safetyStock
. safetyStock
is also subtracted if you include safetyStock
value while creating inventory.POST/v3/locations
endpoint, you can create records for your stores, with details including postal code, hours of operation, BOPIS enabled, and other custom attributes that are applicable to your business.
Request Sample:
PUT/products/{id}
endpoint for updating a single product by ID.PUT/products
endpoint for updating multiple products.infiniteInventory
parameter to true
to configure unlimited quantities of inventory.customAttributes
to define any custom attribute that suit your business use case. For example, you can set BOPIS (Buy Online Pickup In Store) to true
if you are willing to allow shoppers to buy online and pick up an item from the store (based on location number).backOrderLimit
and preOrderLimit
while creating inventory, availableBackorder
and availablePreorder
virtual-counters are displayed in the response object with the same values as provided in the request body.safetyStock
and lowStock
fields while creating or updating inventory for better inventory management.onHand
counter to represent the inventory quantity that’s currently in stock for selling. Based on the onHand
counter value as passed in the request body, availableToPurchase
quantity is calculated based on the formula onHand - allocated - shipped
and displayed in the response object.POST/v3/inventories/actions/find
endpoint.
locationNum
, and channelId
to get information for BOPIS.onHand
counter in the request body to represent inventory that’s currently available in the location to sell.onHand
counter to represent in-stock inventory.customAttribute
field while creating or updating inventory.create location
endpoint.onHand
counter to represent in-stock inventory.customAttribute
field while creating or updating inventory. A specific store is identified by the location number.onHand
counter to represent in-stock inventory.POST/v3/inventories/actions/find-and-adjust-inventory-counters
endpoint to adjust counter quantity. You can provide the SKU, location, and counter quantity in the request payload to adjust the onHand
counter quantity. Counter quantity accepts both positive and negative values. Based on the value you specify in the request payload for the counter quantity, the original counter quantity is either decreased or increased. For example, if the original counter quantity is 100, and you specify the counter quantity as “-10” in the request payload, then the updated onHand
counter becomes 90.availableToPurchase
value is greater than zero, then calculate if the availabletoPurchase
quantity is greater than the safetyStock
value.
availableToPurchase
quantity is greater than 0, then display the item as in-stock.availableToPurchase
quantity is equal to 0 and availableBackorder
is greater than 0, then display the item as in-stock-for-backorder.availableToPreorder
is greater than 0, then display the item as in-stock-for-preorder, else display the item as out-of-stock.Backorder
or Preorder
item, then display the expected restock date (backorderDate) or expected product launch date (preOrderDate)