Skip to main content
GET
/
v1
/
products
/
{id}
Get Product
curl --request GET \
  --url https://api.withflex.com/v1/products/{id} \
  --header 'Authorization: Bearer <token>'
{
  "product": {
    "product_id": "obj_01EXAMPLE00000000000000000",
    "name": "Example",
    "description": "string",
    "document_description": "string",
    "receipt_description": "string",
    "created_at": "2024-01-01T00:00:00Z",
    "visit_type": "cbtSleep",
    "active": false,
    "upc_code": "string",
    "gtin": "string",
    "reference_gtin": "string",
    "hsa_fsa_eligibility": "not_eligible",
    "test_mode": false,
    "metadata": {},
    "url": "https://example.com",
    "client_reference_id": "obj_01EXAMPLE00000000000000000"
  }
}

Authorizations

Authorization
string
header
required

Use a Bearer token to access this API.

Path Parameters

id
string
required
Example:

"obj_01EXAMPLE00000000000000000"

Response

Success

product
object
required

A Product defines what you sell. Flex creates the The product can either be not eligible, elegible via auto-substantiation or elegible via letter of medical necessity.

Example:
{
"product_id": "obj_01EXAMPLE00000000000000000",
"name": "Example",
"description": "string",
"document_description": "string",
"receipt_description": "string",
"created_at": "2024-01-01T00:00:00Z",
"visit_type": "cbtSleep",
"active": false,
"upc_code": "string",
"gtin": "string",
"reference_gtin": "string",
"hsa_fsa_eligibility": "not_eligible",
"test_mode": false,
"metadata": {},
"url": "https://example.com",
"client_reference_id": "obj_01EXAMPLE00000000000000000"
}