Product options API

Get product option

Get single product option by id

get/api/sites/multiscreen/{site_name}/ecommerce/options/{option_id}

Request

  • Base URL
    https://api.duda.co
  • URL
    https://api.duda.co/api/sites/multiscreen/{site_name}/ecommerce/options/{option_id}
  • Auth
    HTTP 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.

Response

OK

idstring

Immutable identifier for referencing

namestring

Displayed option name

type'TEXT' | 'COLOR' nullable

Product option type

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.