Get a product option

Retrieves a specific product option assigned to a product.

get/products/{product_id}/options/{id}

Request

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

Path parameters

product_idinteger required

ID of the product which the option is assigned to.

idinteger required

ID of the product option.

Query parameters

embedstring

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

Response

Product option details.

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.