Inventory Search
GET
{{api_url}}/shop/inventory/search?date_modified_greater_than&date_modified_less_than&is_active&just_count&limit=&limit_start&search_term&warehouse_idAuthorization
Bearer token, sent in the Authorization header. Inherited from the collection.
Query Parameters
| Key | Value | Description |
|---|---|---|
date_modified_greater_than | Searches for inventory modified after the date sent. 2018-01-01 10:10:10 AM | |
date_modified_less_than | Searches for inventory modified before the date sent. 2018-01-01 10:10:10 AM | |
is_active | Set to 1 if you want only active items or 0 if you want in-active items | |
just_count | Set to 1 if you want a count of inventory found | |
limit | If this is set, then only this number of results will be returned | |
limit_start | If 100 results are returned and this is set to 25, the first 25 results will be omitted | |
search_term | ||
warehouse_id | If set, only items in the specified warehouse will be returned |
Example Request
curl --location --request GET '{{api_url}}/shop/inventory/search?date_modified_greater_than&date_modified_less_than&is_active&just_count&limit=&limit_start&search_term&warehouse_id' \
--header 'Authorization: Bearer {{auth_token}}'Example Responses
Inventory Search
Request
curl --location --request GET '{{api_url}}/shop/inventory/search?date_modified_greater_than&date_modified_less_than&is_active&just_count&limit=5&limit_start&search_term&warehouse_id' \
--header 'Authorization: Bearer YOUR_API_KEY'Response 200 OK
{
"inventory": [
{
"shop_productid": "106",
"product_name": "5L-MARG-MW04",
"base_sku": "5L-MARG-MW04",
"shop_warehouseid": "7",
"warehouse_name": "Canada",
"quantity": "1",
"child_sku": "",
"skuid": "0",
"item_sku": "5L-MARG-MW04",
"restock_delivery_lead_time": "5",
"restock_safety_stock_level": "5",
"reorder_point": null,
"bin_location": null,
"asin": "",
"gtin": null,
"upc": null,
"isbn": null,
"date_modified": "2018-05-17 14:52:00",
"option_values": null,
"total_quantity": "984"
},
{
"shop_productid": "106",
"product_name": "5L-MARG-MW04",
"base_sku": "5L-MARG-MW04",
"shop_warehouseid": "3",
"warehouse_name": "Main Warehouse",
"quantity": "971",
"child_sku": "",
"skuid": "0",
"item_sku": "5L-MARG-MW04",
"restock_delivery_lead_time": "5",
"restock_safety_stock_level": "5",
"reorder_point": null,
"bin_location": null,
"asin": "",
"gtin": null,
"upc": null,
"isbn": null,
"date_modified": "2018-05-17 14:58:16",
"option_values": null,
"total_quantity": "984"
},
{
"shop_productid": "106",
"product_name": "5L-MARG-MW04",
"base_sku": "5L-MARG-MW04",
"shop_warehouseid": "4",
"warehouse_name": "Secondary Warehouse",
"quantity": "12",
"child_sku": "",
"skuid": "0",
"item_sku": "5L-MARG-MW04",
"restock_delivery_lead_time": "5",
"restock_safety_stock_level": "5",
"reorder_point": null,
"bin_location": null,
"asin": "",
"gtin": null,
"upc": null,
"isbn": null,
"date_modified": "2018-05-16 14:08:57",
"option_values": null,
"total_quantity": "984"
},
{
"shop_productid": "114",
"product_name": "7290016145014",
"base_sku": "7290016145014",
"shop_warehouseid": "3",
"warehouse_name": "Main Warehouse",
"quantity": "-16132",
"child_sku": "",
"skuid": "0",
"item_sku": "7290016145014",
"restock_delivery_lead_time": "5",
"restock_safety_stock_level": "5",
"reorder_point": null,
"bin_location": null,
"asin": "",
"gtin": null,
"upc": null,
"isbn": null,
"date_modified": "2018-05-17 14:58:16",
"option_values": null,
"total_quantity": "-16350"
},
{
"shop_productid": "114",
"product_name": "7290016145014",
"base_sku": "7290016145014",
"shop_warehouseid": "4",
"warehouse_name": "Secondary Warehouse",
"quantity": "-218",
"child_sku": "",
"skuid": "0",
"item_sku": "7290016145014",
"restock_delivery_lead_time": "5",
"restock_safety_stock_level": "5",
"reorder_point": null,
"bin_location": null,
"asin": "",
"gtin": null,
"upc": null,
"isbn": null,
"date_modified": null,
"option_values": null,
"total_quantity": "-16350"
}
],
"total_inventory_items": "72"
}
