Get a specific Stock Hub quote
Get a specific Stock Hub quote. This method should be used to validate a quote, before submitting it to an order.
GET /V1/stock-hub/quotes/{quoteId}
curl \
-X GET https://magento2.winkelstraat.mac/rest/all/V1/stock-hub/quotes/{quoteId}
Response examples (200)
{
"id": 42,
"created_at": "string",
"updated_at": "string",
"items": [
{
"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"
}
],
"billing_address": {
"first_name": "string",
"company_name": "string",
"last_name": "string",
"email": "string",
"telephone": "string",
"street": "string",
"house_number": "string",
"postcode": "string",
"city": "string",
"region_code": "string",
"country_id": "string"
},
"shipping_address": {
"first_name": "string",
"company_name": "string",
"last_name": "string",
"email": "string",
"telephone": "string",
"street": "string",
"house_number": "string",
"postcode": "string",
"city": "string",
"region_code": "string",
"country_id": "string"
},
"payment": {
"method": "string",
"po_number": "string"
},
"grand_total": 42.0,
"shipping_price": 42.0,
"currency": "string"
}
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"
}