POST:variant_inventory.json
POST:variant_inventory.json
Description
Create inventory entry for a particular product variant. Inventory is stored on the orders service DB and hence has a separate API endpoint.
Permission bit: "variant_inventory.modify"
Topic: Inventory
Query Parameters
Unique shop identifier. See also: Unique Identifiers
Example: ?shop_id=sh_EQzGqWoY
Unique variant identifier. See also: Unique Identifiers
Example: ?variant_id=va_EQzGqWoY
Request Body
Array of VariantInventoryCreate
[ { "add": 5, "bin_location": "Level 3 Shelf 14 A", "inventory_location_id": "il_EQzGqWoY", "low_stock_level": 50, "set": 5 } ]
Response Body
Response Body Type
Loading module