Get a product
GET/v1/products/:id
Get details of a product by id
Request
Path Parameters
id stringrequired
ID of the product
Responses
- 200
- 400
- 404
OK
- application/json
- Schema
- Example (from schema)
Schema
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)"
}
Not found.
- application/json
- Schema
- Example (from schema)
Schema
message string
{
  "message": "404 Not Found (Client Error)"
}
Loading...