Product customizations API
Update customization
Updates an existing product customization. Only provided fields are changed; the customization type cannot be changed.
put/api/sites/multiscreen/{site_name}/ecommerce/customizations/{customization_id}
Request
- Base URLhttps://api.duda.co
- URLhttps://api.duda.co/api/sites/multiscreen/{site_name}/ecommerce/customizations/{customization_id}
- AuthHTTP basic
Path parameters
site_namestring required
The site's unique name (its ID), returned when the site is created.
customization_idstring required
The product customization's ID.
Request body
Example request
{
"button_label": "Upload your design",
"choices": [
{
"label": "Gift wrapping",
"price": 5
}
],
"hint": "Best t-shirt ever",
"label": "Enter the text to print on the t-shirt",
"limitations": {
"max_choices": 3,
"min_choices": 1
},
"price": 5,
"title": "T-shirt print"
}Response
OK
Example response
{
"button_label": "Upload your design",
"choices": [
{
"id": "db3je27rg7",
"label": "Gift wrapping",
"price": 5
}
],
"hint": "Best t-shirt ever",
"id": "WMd1xylGrp",
"label": "Enter the text to print on the t-shirt",
"limitations": {
"max_choices": 3,
"min_choices": 1
},
"price": 5,
"title": "T-shirt print"
}Changes
No recorded changes to this operation across all 1 revision of this API.