Post v1 inventory lowquantitynotification
Body
-
Represents a Source Item Configuration object Used fully qualified namespaces in annotations for proper work of WebApi request parser
POST
/V1/inventory/low-quantity-notification
curl \
-X POST https://magento2.winkelstraat.mac/rest/all/V1/inventory/low-quantity-notification \
-d '{"sourceItemConfigurations":[{"source_code":"string","notify_stock_qty":42.0,"sku":"string","extension_attributes":{}}]}'
Request examples
{
"sourceItemConfigurations": [
{
"source_code": "string",
"notify_stock_qty": 42.0,
"sku": "string",
"extension_attributes": {}
}
]
}
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"
}