Post v1 winkelstraat creditmemo api shipment increment id deficiency
Path parameters
-
incrementId
string Required
Body
-
uid
string Deprecated, use
shipmentToken
-
shipmentToken
string -
items
array[object]
POST
/V1/winkelstraat/creditmemo_api/shipment/{incrementId}/deficiency
curl \
--request POST 'https://magento2.winkelstraat.mac/rest/all/V1/winkelstraat/creditmemo_api/shipment/{incrementId}/deficiency' \
--data '{"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"
}