Body
application/json
List of store inventory to create or update
Response
OK
Expected output when listing products, it will return an array of StoreInventoryOutputSerializer.
The product ID associated with this inventory item
Example:
"prod_123"
The store location ID where this inventory is located
Example:
"store_001"
The quantity of the product in stock
Example:
50
Whether the product is available for purchase
Example:
true
The external product ID from an external system
Example:
"ext_001"
The external store ID from an external system
Example:
"ext_store_002"
The price of the product in cents
Example:
299
The currency code for the product price
Example:
"USD"
The location data for the product in the store
Example:
{
"aisle": "Produce",
"bay": "Fruits",
"shelf": "Bananas"
}
Additional inventory details
Example:
{
"weightedItemInfo": { "valueCentsPerMeasurementUnit": 120 }
}