GET /inventory.json
Get the inventory tables for a given product so you know if it is in stock, out of stock or low in stock.
Inventory
GET
https://app.reserveinstore.com/api/v1/inventory.json
Get a map of inventory levels (with words) for each location for the current store.
Query Parameters
Name
Type
Description
product_id
string
ID of the product you want to pull inventory for. This is the platform (Shopify) product ID.
Headers
Name
Type
Description
public_key
string
Your store's public API key.
{
// The first key up here is the variant_id
"14390604038197": {
// The second key is the platform_location_id (Shopify's location ID).
"39779853": "low_stock", // This will either be low_stock, in_stock or out_of_stock
"9879289909": "in_stock",
"9879322677": "in_stock",
"9879355445": "in_stock"
},
"14390604070965": {
"39779853": "low_stock",
"9879289909": "in_stock",
"9879322677": "in_stock",
"9879355445": "in_stock"
},
"14390604136501": {
"39779853": "out_of_stock",
"9879289909": "in_stock",
"9879322677": "out_of_stock",
"9879355445": "out_of_stock"
}
}
Last updated
Was this helpful?