Update Product
Changed onUpdates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged. Updates never re-run HSA/FSA eligibility determination — eligibility is set when the product is created and only changes through review, so correcting a product's ingredients cannot silently flip its eligibility. Passing categories replaces the product's existing categories, and passing component_items replaces its components (an empty array removes them all). A product.updated event is sent to your configured webhook endpoints on success.
Request
- Base URLhttps://api.withflex.com
- URLhttps://api.withflex.com/v1/products/{id}
- AuthHTTP bearer
Path parameters
Request body
Example request
{
"product": {
"name": "Example",
"description": "Premium SPF 50 mineral sunscreen",
"upc_code": "example_value",
"gtin": "example_value",
"reference_gtin": "example_value",
"url": "https://example.com",
"active": false,
"metadata": {
"order_id": "8842",
"channel": "shopify"
},
"categories": [
"string"
],
"component_items": [
{
"component_id": "fcomp_01J9XR8M3K7VZ8N2YB4WJ6T0RA"
}
]
}
}Response
An envelope wrapping a single product object.
Example response
{
"product": {
"product_id": "fprod_01J9XR8M3K7VZ8N2YB4WJ6T0RA",
"owner_partner_id": "facct_01J9XR8M3K7VZ8N2YB4WJ6T0RA",
"name": "Example",
"description": "Premium SPF 50 mineral sunscreen",
"document_description": "string",
"receipt_description": "string",
"created_at": "2026-06-15T14:30:00Z",
"visit_type": "cbtSleep",
"active": false,
"upc_code": "string",
"gtin": "string",
"reference_gtin": "string",
"hsa_fsa_eligibility": "not_eligible",
"test_mode": false,
"metadata": {
"order_id": "8842",
"channel": "shopify"
},
"url": "https://example.com",
"client_reference_id": "obj_01J9XR8M3K7VZ8N2YB4WJ6T0RA"
}
}Changes
- warning
added the new
adaptiveShoesDependentenum value to the/////response property for the response status - warning
added the new
automatedCleanerenum value to the/////response property for the response status - warning
added the new
babyMonitorSplitenum value to the/////response property for the response status - warning
added the new
babySleepAppenum value to the/////response property for the response status - warning
added the new
bodyPillowenum value to the/////response property for the response status - warning
added the new
breathWorkDependentenum value to the/////response property for the response status - warning
added the new
coolingSleepwearenum value to the/////response property for the response status - warning
added the new
meneralsNootropicPouchenum value to the/////response property for the response status - warning
added the new
nonenalOdorenum value to the/////response property for the response status - warning
added the new
nursingChairsenum value to the/////response property for the response status - warning
added the new
speechHealthDependentenum value to the/////response property for the response status - warning
added the new
uvClothingenum value to the/////response property for the response status - warning
added the new
uvGlassesenum value to the/////response property for the response status - info
added the new optional request property
/
- warning