Remove StockSourceLink list list
Remove StockSourceLink list list
POST /V1/inventory/stock-source-links-delete
curl \
-X POST https://magento2.winkelstraat.mac/rest/all/V1/inventory/stock-source-links-delete \
-d '{"links":[{"stock_id":42,"source_code":"string","priority":42,"extension_attributes":{"source_name":"string"}}]}'
Request examples
{
"links": [
{
"stock_id": 42,
"source_code": "string",
"priority": 42,
"extension_attributes": {
"source_name": "string"
}
}
]
}
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 (400)
{
"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"
}