---
title: "List product options"
method: GET
path: "/products/{product_id}/options"
---

# List product options

`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

Retrieves a list of product options assigned to a product.

## Path parameters

- `product_id` integer, required

## Query parameters

- `embed` string

## Response `200`

A list of product options.

- ProductOption[]
  - `id` integer: Unique identifier for the product option.
  - `name` string: The name of the product option.
  - `sortOrder` integer: The sort order of the product option. Options with a lower number appear first.
  - `values` ProductOptionValue[]: List of option values.
    - `id` integer: Unique identifier for the product option value.
    - `name` string: The name of the product option value.
    - `sortOrder` integer: Sort order of the product option.

---

[API](https://skmtc.dev/ecommerceapi/apis/product-options.md) - [All operations](https://skmtc.dev/ecommerceapi/apis/product-options/llms.txt) - [OpenAPI document](https://skmtc.dev/ecommerceapi/apis/product-options/revisions/85c72308b778?raw)
