Retrieves a list of SKU's with low inventory qty
Retrieves a list of SKU's with low inventory qty
Query parameters
-
currentPage integer
-
pageSize integer
GET /V1/stockItems/lowStock/
curl \
-X GET https://magento2.winkelstraat.mac/rest/all/V1/stockItems/lowStock/?scopeId=42&qty=42.0
Response examples (200)
{
"items": [
{
"item_id": 42,
"product_id": 42,
"stock_id": 42,
"qty": 42.0,
"is_in_stock": true,
"is_qty_decimal": true,
"show_default_notification_message": true,
"use_config_min_qty": true,
"min_qty": 42.0,
"use_config_min_sale_qty": 42,
"min_sale_qty": 42.0,
"use_config_max_sale_qty": true,
"max_sale_qty": 42.0,
"use_config_backorders": true,
"backorders": 42,
"use_config_notify_stock_qty": true,
"notify_stock_qty": 42.0,
"use_config_qty_increments": true,
"qty_increments": 42.0,
"use_config_enable_qty_inc": true,
"enable_qty_increments": true,
"use_config_manage_stock": true,
"manage_stock": true,
"low_stock_date": "string",
"is_decimal_divided": true,
"stock_status_changed_auto": 42,
"extension_attributes": {}
}
],
"search_criteria": {
"mapper_interface_name": "string",
"criteria_list": [
{
"mapper_interface_name": "string",
"criteria_list": [
{}
],
"filters": [
"string"
],
"orders": [
"string"
],
"limit": [
"string"
]
}
],
"filters": [
"string"
],
"orders": [
"string"
],
"limit": [
"string"
]
},
"total_count": 42
}
Response examples (401)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}
Response examples (default)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}