List applicable shipping methods for a specified quote
List applicable shipping methods for a specified quote.
Path parameters
-
The shopping cart ID.
GET /V1/guest-carts/{cartId}/shipping-methods
curl \
-X GET https://magento2.winkelstraat.mac/rest/all/V1/guest-carts/{cartId}/shipping-methods
Response examples (200)
[
{
"carrier_code": "string",
"method_code": "string",
"carrier_title": "string",
"method_title": "string",
"amount": 42.0,
"base_amount": 42.0,
"available": true,
"extension_attributes": {
"carrier_codes": [
{
"code": "string",
"name": "string"
}
],
"delivery_window_dates": [
{
"carrier_code": "string",
"from": "string",
"to": "string",
"method_title": "string",
"expires": "string"
}
],
"is_pickup_point": true,
"pickup_point": {
"pick_up_point_id": "string",
"carrier_method": "string",
"name": "string",
"address_lines": [
"string"
],
"city": "string",
"state": "string",
"country": "string",
"postal": "string",
"telephone": "string",
"fax": "string"
}
},
"error_message": "string",
"price_excl_tax": 42.0,
"price_incl_tax": 42.0
}
]
Response examples (400)
{
"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"
}