List items viable for return for a specific order
GET
/V1/stock-hub/rma/order/{orderIncrementId}
curl \
--request GET 'https://magento2.winkelstraat.mac/rest/all/V1/stock-hub/rma/order/{orderIncrementId}'
Response examples (200)
[
{
"item_id": 42,
"reasons": [
"string"
],
"resolutions": [
"string"
],
"sizes": [
"string"
],
"sku": "string",
"parent_sku": "string",
"qty": 42,
"item_price_inc_tax": 42.0,
"row_total_inc_tax": 42.0,
"manufacturer": "string",
"size": "string",
"mpn": "string"
}
]
Response examples (200)
<?xml version="1.0" encoding="UTF-8"?>
<root type="array">
<root>
<item-id type="integer">42</item-id>
<reasons type="array">
<reason>string</reason>
</reasons>
<resolutions type="array">
<resolution>string</resolution>
</resolutions>
<sizes type="array">
<size>string</size>
</sizes>
<sku>string</sku>
<parent-sku>string</parent-sku>
<qty type="integer">42</qty>
<item-price-inc-tax type="float">42.0</item-price-inc-tax>
<row-total-inc-tax type="float">42.0</row-total-inc-tax>
<manufacturer>string</manufacturer>
<size>string</size>
<mpn>string</mpn>
</root>
</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>