Product options API
Update product option
Change displayed name of product option
put/api/sites/multiscreen/{site_name}/ecommerce/options/{option_id}
Request
- Base URLhttps://api.duda.co
- URLhttps://api.duda.co/api/sites/multiscreen/{site_name}/ecommerce/options/{option_id}
- AuthHTTP basic
Path parameters
site_namestring required
The site's unique name (its ID), returned when the site is created.
option_idstring required
The product option's ID.
Request body
Example request
{
"choices": [
{
"color": "#FF5733",
"id": "abc123",
"value": "45"
}
],
"name": "Shirt size",
"type": "COLOR"
}Response
OK
Example response
{
"choices": [
{
"id": "db3je27rg7",
"value": "45"
}
],
"id": "WMd1xylGrp",
"name": "Shirt size",
"type": "COLOR"
}Changes
No recorded changes to this operation across all 1 revision of this API.