Query parameters
-
Field
-
Value
-
Condition type
-
Sorting field.
-
Sorting direction.
-
searchCriteria[pageSize] integer
Page size.
-
searchCriteria[currentPage] integer
Current page.
GET /V1/stock-hub/rma
curl \
-X GET https://magento2.winkelstraat.mac/rest/all/V1/stock-hub/rma
Response examples (200)
{
"items": [
{
"increment_id": "string",
"order_increment_id": "string",
"date_requested": "string",
"items": [
{
"id": 42,
"sku": "string",
"resolution": "string",
"reason": "string",
"qty_requested": 42,
"qty_approved": 42,
"qty_returned": 42,
"manufacturer": "string",
"color": "string",
"size": "string",
"mpn": "string",
"merchant_product_reference": "string",
"merchant_resolution": "string",
"parent_sku": "string",
"item_return_fee": 42.0,
"row_line_return_fee": 42.0
}
],
"status": "string",
"track": {
"tracking_number": "string",
"carrier": "string",
"method": "string",
"tracking_url": "string"
},
"date_received": "string",
"date_processed": "string",
"currency": "string"
}
],
"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"
}