GET
/V1/stock-hub/orders/{orderIncrementId}
curl \
--request GET 'https://magento2.winkelstraat.mac/rest/all/V1/stock-hub/orders/{orderIncrementId}'
Response examples (200)
{
"increment_id": "string",
"created_at": "string",
"updated_at": "string",
"items": [
{
"sku": "string",
"parent_sku": "string",
"qty_ordered": 42,
"item_price_inc_tax": 42.0,
"row_total_inc_tax": 42.0,
"manufacturer": "string",
"size": "string",
"mpn": "string"
}
],
"shipping_address": {
"first_name": "string",
"last_name": "string",
"email": "string",
"telephone": "string",
"street": "string",
"house_number": "string",
"postcode": "string",
"city": "string",
"region_code": "string",
"country_id": "string",
"company_name": "string"
},
"billing_address": {
"first_name": "string",
"last_name": "string",
"email": "string",
"telephone": "string",
"street": "string",
"house_number": "string",
"postcode": "string",
"city": "string",
"region_code": "string",
"country_id": "string",
"company_name": "string"
},
"status": "string",
"shipping_price": 42.0,
"subtotal": 42.0,
"grand_total": 42.0,
"currency": "string",
"is_invoiced": true,
"is_shipped": true
}
Response examples (200)
<?xml version="1.0" encoding="UTF-8"?>
<root>
<increment-id>string</increment-id>
<created-at>string</created-at>
<updated-at>string</updated-at>
<items type="array">
<item>
<sku>string</sku>
<parent-sku>string</parent-sku>
<qty-ordered type="integer">42</qty-ordered>
<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>
</item>
</items>
<shipping-address>
<first-name>string</first-name>
<last-name>string</last-name>
<email>string</email>
<telephone>string</telephone>
<street>string</street>
<house-number>string</house-number>
<postcode>string</postcode>
<city>string</city>
<region-code>string</region-code>
<country-id>string</country-id>
<company-name>string</company-name>
</shipping-address>
<billing-address>
<first-name>string</first-name>
<last-name>string</last-name>
<email>string</email>
<telephone>string</telephone>
<street>string</street>
<house-number>string</house-number>
<postcode>string</postcode>
<city>string</city>
<region-code>string</region-code>
<country-id>string</country-id>
<company-name>string</company-name>
</billing-address>
<status>string</status>
<shipping-price type="float">42.0</shipping-price>
<subtotal type="float">42.0</subtotal>
<grand-total type="float">42.0</grand-total>
<currency>string</currency>
<is-invoiced type="boolean">true</is-invoiced>
<is-shipped type="boolean">true</is-shipped>
</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>