.csv
file with the inventory details.POST/api/v2/inventory/aws/upload-url
..csv
file to the URL.onHand
, Allocated
, Shipped
, and any other custom counters that are created using the counter endpoint. Allocated counters are automatically calculated during the order workflow. Merchants can update all base counters, except Allocated
, by using the following endpoints:
POST/v3/inventories/actions/find-and-adjust-inventory-counters
): Adjusts the counter quantity. Using this endpoint, you can only adjust the counter quantity, not other inventory details. You can increase or decrease the counter quantity by specifying the required quantity in the payload. For example, if the original counter quantity is 100 and you want to increase the quantity to 110, set the counter quantity as ‘+10’ in the payload. The counter quantity is now updated to 110.POST/v3/inventories/action/find-and-update
): Updates counter quantity and other inventory details.availableToPurchase
, which are calculated or updated during the order workflow. When an order is placed, the Order Management System (OMS) automatically allocates the order for shipping. After the order is allocated and shipped, the counters available to purchase is calculated based on the formula onHand - allocated - shipped
.curl <https://inventory-oms-refresher-prod01.s3.amazonaws.com/chicosprod/export/store/FabricStoreInventorySync_CHO_2023-06-15T08-31-00-827090592Z.csv>
Whenever data is requested, fabric will generate a S3 presigned URL to ensure secure access.
onHand
, Allocated
, Shipped
, and any other counters that are configured using the counter endpoint. These values can be updated through the Inventory detail page in fabric Copilot or using the adjustment endpoint- POST/v3/inventories/actions/find-and-adjust-inventory-counters. This lets you increase or decrease the counter quantity, but it doesn’t allow you to change other inventory details. Alternatively, you can use the update inventory endpoint- POST/v3/inventories/action/find-and-update, which allows you to update both the counter quantity and other inventory details.
Virtual counters refer to the aggregation of real-time inventory availability. The inventory virtual counters are viewable on the inventory landing page in fabric Copilot. Their calculation from counters is configured in the virtual counter calculation. Basically, these are computed from counters at runtime. For example, availableToPurchase = onHand - allocated - shipped
.
isActive
flag is set to “TRUE,” all inventory uploaded for your default location will be included in the aggregated inventory availability.
Complex Aggregation
Your network configuration can also be very complex. fabric’s Inventory Networks support the ability to create groups of inventory by defining “Inventory Networks” with inclusion and exclusion rules for inventory aggregation. Inventory Networks can aggregate inventory across groups of fulfillment centers for different selling requirements such as channels, brands, or fulfillment method eligibility. For example, you may want to create “Network C,” for domestic selling which includes all stores and warehouses, and “Warehouse Network,” for International selling which only includes warehouses. This can be achieved with the following two steps:
OnHand
for availability.
2. Safety Stock and Low Stock Setting
In addition to the import-inventory and network features, you may configure values for safetyStock
and lowStock
fields while creating or updating either networks or inventory.
3. Infinite Inventory Flag
If you want to represent an inventory in unlimited quantities, you may set infiniteInventory
to ‘true’ and reference that attribute on the storefront and other downstream systems consuming inventory from fabric.
onHand
counter, remember that the ‘availableToPurchase’ quantity is calculated based on the default formula onHand - allocated - shipped - safetyStock
. Note that the availableToPurchase
quantity can be customized based on requirement. Contact fabric Support to customize availableToPurchase
.