Query parameters
-
Field
-
Value
-
Condition type
-
Sorting field.
-
Sorting direction.
-
searchCriteria[pageSize] integer
Page size.
-
searchCriteria[currentPage] integer
Current page.
GET /V1/stock-hub/orders
curl \
-X GET https://magento2.winkelstraat.mac/rest/all/V1/stock-hub/orders
Response examples (200)
{
"items": [
{
"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
}
],
"search_criteria": {
"filter_groups": [
{
"filters": [
{
"field": "string",
"value": "string",
"condition_type": "string"
}
]
}
],
"sort_orders": [
{
"field": "string",
"direction": "string"
}
],
"page_size": 42,
"current_page": 42
},
"total_count": 42
}
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"
}