GET /V1/stock-hub/orders/{orderIncrementId}
curl \
-X 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 (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 (default)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}