Get all products
GET/v1/products
Get all products
Request
Query Parameters
type string
Possible values: [3rd_party
, comprehensive
]
Type of the product
Responses
- 200
- 400
OK
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
data object[]
id string
ID of the product
name string
Name of the product
description string
Description of the product
type string
Possible values: [3rd_party
, comprehensive
]
Type of the product
premium_rate string
Premium of the product
payment_duration string
Duration of the policy
{
"data": [
{
"id": "string",
"name": "string",
"description": "string",
"type": "3rd_party",
"premium_rate": "string",
"payment_duration": "string"
}
]
}
Bad request.
- application/json
- Schema
- Example (from schema)
Schema
message string
{
"message": "400 Bad Request (Client Error)"
}
Loading...