Delete multiple source items configuration for low quantity
application/json
POST
/V1/inventory/low-quantity-notifications-delete
cURL (application/json)
curl \
--request POST 'https://magento2.winkelstraat.mac/rest/all/V1/inventory/low-quantity-notifications-delete' \
--header "Content-Type: application/json" \
--data '{"sourceItems":[{"sku":"string","source_code":"string","quantity":42.0,"status":42,"extension_attributes":{"origin":"string"}}]}'
curl \
--request POST 'https://magento2.winkelstraat.mac/rest/all/V1/inventory/low-quantity-notifications-delete' \
--header "Content-Type: application/xml"
Request examples
{
"sourceItems": [
{
"sku": "string",
"source_code": "string",
"quantity": 42.0,
"status": 42,
"extension_attributes": {
"origin": "string"
}
}
]
}
Request examples
<?xml version="1.0" encoding="UTF-8"?>
<root>
<sourceItems type="array">
<sourceItem>
<sku>string</sku>
<source-code>string</source-code>
<quantity type="float">42.0</quantity>
<status type="integer">42</status>
<extension-attributes>
<origin>string</origin>
</extension-attributes>
</sourceItem>
</sourceItems>
</root>
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 (401)
<?xml version="1.0" encoding="UTF-8"?>
<root>
<message>string</message>
<errors type="array">
<error>
<message>string</message>
<parameters type="array">
<parameter>
<resources>string</resources>
<fieldName>string</fieldName>
<fieldValue>string</fieldValue>
</parameter>
</parameters>
</error>
</errors>
<code type="integer">42</code>
<parameters type="array">
<parameter>
<resources>string</resources>
<fieldName>string</fieldName>
<fieldValue>string</fieldValue>
</parameter>
</parameters>
<trace>string</trace>
</root>
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"
}
Response examples (default)
<?xml version="1.0" encoding="UTF-8"?>
<root>
<message>string</message>
<errors type="array">
<error>
<message>string</message>
<parameters type="array">
<parameter>
<resources>string</resources>
<fieldName>string</fieldName>
<fieldValue>string</fieldValue>
</parameter>
</parameters>
</error>
</errors>
<code type="integer">42</code>
<parameters type="array">
<parameter>
<resources>string</resources>
<fieldName>string</fieldName>
<fieldValue>string</fieldValue>
</parameter>
</parameters>
<trace>string</trace>
</root>