curl --request PATCH \
--url https://api.withflex.com/v1/products/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"product": {
"description": "<string>",
"upc_code": "<string>",
"gtin": "<string>",
"reference_gtin": "<string>",
"visit_type": "cbtSleep",
"url": "<string>",
"hsa_fsa_eligibility": "not_eligible",
"active": true,
"metadata": {}
}
}
'{
"product": {
"product_id": "<string>",
"name": "<string>",
"created_at": "<string>",
"active": true,
"hsa_fsa_eligibility": "not_eligible",
"test_mode": true,
"description": "<string>",
"visit_type": "cbtSleep",
"upc_code": "<string>",
"gtin": "<string>",
"reference_gtin": "<string>",
"eligibility_rationale": "<string>",
"metadata": {},
"url": "<string>"
}
}Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
curl --request PATCH \
--url https://api.withflex.com/v1/products/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"product": {
"description": "<string>",
"upc_code": "<string>",
"gtin": "<string>",
"reference_gtin": "<string>",
"visit_type": "cbtSleep",
"url": "<string>",
"hsa_fsa_eligibility": "not_eligible",
"active": true,
"metadata": {}
}
}
'{
"product": {
"product_id": "<string>",
"name": "<string>",
"created_at": "<string>",
"active": true,
"hsa_fsa_eligibility": "not_eligible",
"test_mode": true,
"description": "<string>",
"visit_type": "cbtSleep",
"upc_code": "<string>",
"gtin": "<string>",
"reference_gtin": "<string>",
"eligibility_rationale": "<string>",
"metadata": {},
"url": "<string>"
}
}Use a Bearer token to access this API.
Show child attributes
cbtSleep, notApplicable, metabolomics, tinnitus, gym, exerciseDiet, orthopedic, alcohol, airPurification, vaginalHealth, menstrual, canopy, alopecia, genate, weightBlanket, bedJet, siderAl, sunwinkPowder, wavWatch, bodyComplete, ageRate, nitrousOxide, happyV, groupChat, icalmAnxiety, redBloom, foodom, branchErgonomicFurniture, curalife, eloraInfantWellness, nutriHealth, olipop, goldIntimate, touchStoneEssentials, utiva, sleepGeekz, figBrew, auBabyBlanket, oshWellness, currentBodyRedLight, mito, circularRing, lymaRedLight, goodAirRx, tastermonial, karunaHome, ergoStandingChair, jbaGlucoseControl, bloomNutrition, buoyDrops, luxeWonderWig, saunaMarketplace, amrioreEyewear, pivotOrthoShoe, lumenCynergy, roga, pulsetto, mitoRedLight, gutPersonal, goFlaus, myHixel, calmigo, dotFit, stripesBeauty, mixHers, pmd, positivityWithPurpose, techRing, popVeneers, vertaClean, lumen, coolingBed, posture, supplements, sleep, redLightTherapy, fitness, smartRing, womensVaginalHealth, fertilitySupport, femaleReproduction, pregnancyLiterature, iceBath, orthopedicShoes, sexualHealth, glucose, metabolicTest, skinCare, oralHealth, blueLightGlasses, anxiety, brainHealth, babyMonitor, compressionSocks, waterPurification, medSpa, essentialOils, sleepBuds, latchLight, nutritionist, rairflow, enduranceTraining, hydration, hairGrowth, eD, postureFitness, childDevelopment, adaptiveClothing, sleepConsulting, hairRemoval, menopause, maleFertility, anxietyHealth, bidets, speechHealth A URL of a publicly-accessible image of the product.
not_eligible, auto_substantiation, private_label, letter_of_medical_necessity, prescription, vision, service 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.
Show child attributes
The unique identifier for the product.
The name of the product.
The date the product was created.
Determines if the product is active or not.
The elegibility of the product for HSA/FSA.
not_eligible, auto_substantiation, private_label, letter_of_medical_necessity, prescription, vision, service Whether the product is in test mode or not.
The description of the product.
The visit type of the product if a letter of medical necessity is required.
cbtSleep, notApplicable, metabolomics, tinnitus, gym, exerciseDiet, orthopedic, alcohol, airPurification, vaginalHealth, menstrual, canopy, alopecia, genate, weightBlanket, bedJet, siderAl, sunwinkPowder, wavWatch, bodyComplete, ageRate, nitrousOxide, happyV, groupChat, icalmAnxiety, redBloom, foodom, branchErgonomicFurniture, curalife, eloraInfantWellness, nutriHealth, olipop, goldIntimate, touchStoneEssentials, utiva, sleepGeekz, figBrew, auBabyBlanket, oshWellness, currentBodyRedLight, mito, circularRing, lymaRedLight, goodAirRx, tastermonial, karunaHome, ergoStandingChair, jbaGlucoseControl, bloomNutrition, buoyDrops, luxeWonderWig, saunaMarketplace, amrioreEyewear, pivotOrthoShoe, lumenCynergy, roga, pulsetto, mitoRedLight, gutPersonal, goFlaus, myHixel, calmigo, dotFit, stripesBeauty, mixHers, pmd, positivityWithPurpose, techRing, popVeneers, vertaClean, lumen, coolingBed, posture, supplements, sleep, redLightTherapy, fitness, smartRing, womensVaginalHealth, fertilitySupport, femaleReproduction, pregnancyLiterature, iceBath, orthopedicShoes, sexualHealth, glucose, metabolicTest, skinCare, oralHealth, blueLightGlasses, anxiety, brainHealth, babyMonitor, compressionSocks, waterPurification, medSpa, essentialOils, sleepBuds, latchLight, nutritionist, rairflow, enduranceTraining, hydration, hairGrowth, eD, postureFitness, childDevelopment, adaptiveClothing, sleepConsulting, hairRemoval, menopause, maleFertility, anxietyHealth, bidets, speechHealth The upc code of the product.
The gtin code of the product.
The gtin code of the product.
The rationale for the eligibility determination.
The URL of the product.