List benefit products
benefit_products.list(**kwargs) -> BenefitProductListResponse { id, active, category, 6 more }
/v1/benefit-products
Retrieves a paginated list of all benefit products that the authenticated organization has access to and can offer to their employers. Use query parameters to filter by category, product code, or active status.
Parameters
active_in: bool
Filter by active status
limit: Integer
Items per page (default: 20, max: 100)
minimum1
maximum100
page: Integer
Page number (default: 1)
minimum1
Returns
List benefit products
require "vitable_connect_api"
vitable_connect_api = VitableConnectAPI::Client.new(
api_key: "My API Key",
environment: "environment_1" # defaults to "production"
)
benefit_products = vitable_connect_api.benefit_products.list
puts(benefit_products)
[
{
"id": "id",
"active": true,
"category": "Medical",
"created_at": "2019-12-27T18:11:19.117Z",
"name": "name",
"product_code": "EBA",
"updated_at": "2019-12-27T18:11:19.117Z",
"carrier_name": "carrier_name",
"description": "description"
}
]
Returns Examples
[
{
"id": "id",
"active": true,
"category": "Medical",
"created_at": "2019-12-27T18:11:19.117Z",
"name": "name",
"product_code": "EBA",
"updated_at": "2019-12-27T18:11:19.117Z",
"carrier_name": "carrier_name",
"description": "description"
}
]