List product options

Retrieves a list of product options assigned to a product.

get/products/{product_id}/options

Request

  • Base URL
    https://api.ecommerceapi.uk/v1
  • URL
    https://api.ecommerceapi.uk/v1/products/{product_id}/options
  • Auth
    HTTP basic

Path parameters

product_idinteger required

ID of the product which the options are assigned to.

Query parameters

embedstring

Comma-separated list of related resources to embed in the response. Available value: 'product_option_values'.

Response

A list of product options.

idinteger

Unique identifier for the product option.

namestring

The name of the product option.

sortOrderinteger

The sort order of the product option. Options with a lower number appear first.

Changes

No recorded changes to this operation across all 1 revision of this API.