Product options API

List product options

Get products options page. Default response page size is 50, maximum response page size is 100

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

Request

  • Base URL
    https://api.duda.co
  • URL
    https://api.duda.co/api/sites/multiscreen/{site_name}/ecommerce/options
  • Auth
    HTTP basic

Path parameters

site_namestring required

The site's unique name (its ID), returned when the site is created.

Query parameters

offsetinteger

Zero-based offset for elements (0..N)

limitinteger

The size of the page to be returned

sortstring
direction'asc' | 'desc'

Order direction for property specified in sort

Response

OK

limitinteger

Page size applied for request

offsetinteger

Offset applied for request

site_namestring

Owning site

total_responsesinteger

Total amount of elements matching requested filters

Example response

{
  "results": [
    {
      "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.