Post v1 winkelstraat creditmemo api shipment increment id deficiency
Body
-
uid string
Deprecated, use
shipmentToken
-
shipmentToken string
-
items array[object]
POST /V1/winkelstraat/creditmemo_api/shipment/{incrementId}/deficiency
curl \
-X POST https://magento2.winkelstraat.mac/rest/all/V1/winkelstraat/creditmemo_api/shipment/{incrementId}/deficiency \
-d '{"uid":"string","shipmentToken":"string","items":[{"sku":"string","quantity":42}]}'
Request examples
{
"uid": "string",
"shipmentToken": "string",
"items": [
{
"sku": "string",
"quantity": 42
}
]
}
Response examples (200)
[
"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"
}