v1

latestOpenAPI 3.1.02026-07-242470655.6 KB

Update Product Option Choice

put/site/{site_name}/ecommerce/options/{option_id}/choices/{choice_id}

Path parameters

site_namestring required

The unique identifier for the target site

option_idstring required

The unique identifier for the target option

choice_idstring required

The unique identifier for the target choice

Headers

x-duda-access-tokenstring required

The specific access token to access this site API.

Request body

valuestring required

The updated value for the choice

Response

200

idstring
namestring

Example response

{
  "choices": [
    {
      "id": "db3je27rg7",
      "value": "45"
    }
  ],
  "id": "WMd1xylGrp",
  "name": "Shirt size"
}