Update Variant
Changed onUpdate a single variant
Request
- Base URLhttps://myworkspace.myclickfunnels.com/api/v2
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://accounts.myclickfunnels.com/oauth/authorizeToken URLhttps://accounts.myclickfunnels.com/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Request body
Example request
{
"products_variant": {
"products_variant": {
"name": "Heavy Duty Steel variant",
"description": "Dolore provident unde quas.",
"sku": "LxbnGP0kqyqzQDTK",
"product_type": "physical",
"out_of_stock_sales": true,
"weight": "24.0",
"weight_unit": "lb",
"height": "96.0",
"width": "418.0",
"length": "66.0",
"dimensions_unit": "inches",
"tax_category_id": null,
"has_access_to_all_valid_assets": false,
"asset_ids": [
904
],
"included_courses_attributes": [
{
"id": 31,
"course_id": 42,
"included_sections_attributes": [
{
"courses_section_id": 301
}
]
}
],
"included_space_groups_attributes": [
{
"id": 19,
"_destroy": true
}
],
"taxable": null,
"track_quantity": false,
"archived": false,
"visible": true,
"fulfillment_required": false,
"country_of_manufacture_id": null,
"image_ids": [],
"fulfillments_location_ids": []
}
}
}Response
OK
Example response
{
"id": 15,
"public_id": "NRBUIp",
"product_id": 24,
"name": "Small Aluminum Gloves variant 393f",
"description": "Dolore provident unde quas.",
"sku": "LxbnGP0kqyqzQDTK",
"product_type": "physical",
"properties_value_ids": [
null
],
"out_of_stock_sales": null,
"weight": "24.0",
"weight_unit": "lb",
"height": "96.0",
"width": "418.0",
"length": "66.0",
"dimensions_unit": "inches",
"quantity": 0,
"tag_ids": [
39
],
"tax_category_id": null,
"asset_ids": [
904
],
"has_access_to_all_valid_assets": false,
"included_courses": [
{
"id": 31,
"course_id": 42,
"full_access": true,
"included_section_ids": [
301,
302
]
}
],
"included_space_groups": [
{
"id": 19,
"communities_space_group_id": 8,
"spaces_mode": "all",
"included_space_ids": []
}
],
"taxable": null,
"track_quantity": false,
"archived": false,
"visible": true,
"price_ids": [],
"fulfillment_required": false,
"country_of_manufacture_id": null,
"image_ids": [],
"fulfillments_location_ids": [],
"created_at": "2025-08-11T19:14:39.799Z",
"updated_at": "2025-08-11T19:14:39.799Z",
"default": false,
"properties_values": [
{
"property_id": 15,
"value": "Red"
}
],
"created_by_platform_application": null
}Changes
- breaking
the request property
/became not nullable - warning
added the new
digitalenum value to theresponse property for the response status - warning
added the new
physicalenum value to theresponse property for the response status - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking