curl --request GET \
--url https://api.withflex.com/v1/products/{id} \
--header 'Authorization: Bearer <token>'
{
"product": {
"product_id": "<string>",
"name": "<string>",
"description": "<string>",
"created_at": "<string>",
"visit_type": "cbtSleep",
"active": true,
"upc_code": "<string>",
"gtin": "<string>",
"reference_gtin": "<string>",
"hsa_fsa_eligibility": "not_eligible",
"eligibility_rationale": "<string>",
"test_mode": true,
"metadata": {},
"url": "<string>"
}
}
Returns a product object for the product with the specified ID.
curl --request GET \
--url https://api.withflex.com/v1/products/{id} \
--header 'Authorization: Bearer <token>'
{
"product": {
"product_id": "<string>",
"name": "<string>",
"description": "<string>",
"created_at": "<string>",
"visit_type": "cbtSleep",
"active": true,
"upc_code": "<string>",
"gtin": "<string>",
"reference_gtin": "<string>",
"hsa_fsa_eligibility": "not_eligible",
"eligibility_rationale": "<string>",
"test_mode": true,
"metadata": {},
"url": "<string>"
}
}
Use a Bearer token to access this API.
The response is of type object
.