Get product attribute items to build the quote params
POST/quotes/:market/:productType/attributes/:attributeId/items
Get product attributes to build the quote params
Request
Path Parameters
market stringrequired
Market
productType stringrequired
product Type
attributeId stringrequired
Attribute ID
- application/json
Body
required
Params and values to request product type attribute items
Array [
]
params
object[]
List of attributes to get internal items
id string
value string
Responses
- 200
- 401
- 404
Successful operation
- application/json
- Schema
- Example (from schema)
- car-insurance-brands
- car-insurance-models
- car-insurance-years
- car-insurance-cc
Schema
Array [
]
params
object[]
id-name shape
id string
name string
{
"params": [
{
"id": "string",
"name": "string"
}
]
}
{
"market": "hk",
"product_type": "car_insurance",
"params": [
{
"id": "audi",
"name": "Audi"
},
{
"id": "bmw",
"name": "BMW"
}
]
}
{
"market": "hk",
"product_type": "car_insurance",
"params": [
{
"id": "a1",
"name": "A1"
},
{
"id": "a3",
"name": "A3"
},
{
"id": "a4",
"name": "A4"
},
{
"id": "tt",
"name": "TT"
}
]
}
{
"market": "hk",
"product_type": "car_insurance",
"params": [
{
"id": "2020",
"name": "2020"
},
{
"id": "2021",
"name": "2021"
}
]
}
{
"market": "hk",
"product_type": "car_insurance",
"params": [
{
"id": "1500",
"name": "1500"
},
{
"id": "2000",
"name": "2000"
}
]
}
Unauthorized
Quote not found
Loading...