Process returned items by shipment increment id, return items data. Requires a shipment token to authorize the request.
application/json
PUT
/V3/winkelstraat/rma_api/rma/{incrementId}
cURL (application/json)
curl \
--request PUT 'https://m2.winkelstraat.nl/rest/all/V3/winkelstraat/rma_api/rma/{incrementId}' \
--header "Content-Type: application/json" \
--data '{"items":[{"sku":"string","qty_received":42,"qty_approved":42,"condition":"string"}],"shipmentToken":"string"}'
curl \
--request PUT 'https://m2.winkelstraat.nl/rest/all/V3/winkelstraat/rma_api/rma/{incrementId}' \
--header "Content-Type: application/xml"
Request examples
{
"items": [
{
"sku": "string",
"qty_received": 42,
"qty_approved": 42,
"condition": "string"
}
],
"shipmentToken": "string"
}
Request examples
<?xml version="1.0" encoding="UTF-8"?>
<root>
<items type="array">
<item>
<sku>string</sku>
<qty-received type="integer">42</qty-received>
<qty-approved type="integer">42</qty-approved>
<condition>string</condition>
</item>
</items>
<shipmentToken>string</shipmentToken>
</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>