---
title: "List product customisation fields"
method: GET
path: "/products/{product_id}/customization-fields"
---

# List product customisation fields

`GET /products/{product_id}/customization-fields`

## Request

- Base URL: `https://api.ecommerceapi.uk/v1`
- URL: `https://api.ecommerceapi.uk/v1/products/{product_id}/customization-fields`
- Auth: HTTP basic

Retrieves a list of product customisation fields assigned to a product.

## Path parameters

- `product_id` integer, required

## Query parameters

- `fields` string

## Response `200`

A list of product customisation fields.

- ProductCustomizationField[]
  - `id` integer: Unique identifier for the customisation field.
  - `label` string: The label of the customisation field.
  - `type` 1 | 2: The type of the customisation field (1 for text input, 2 for text area).
  - `max_length` integer: The maximum allowed length for the customisation field. Defaults to 0 (no limit).

---

[API](https://skmtc.dev/ecommerceapi/apis/product-customisation-fields.md) - [All operations](https://skmtc.dev/ecommerceapi/apis/product-customisation-fields/llms.txt) - [OpenAPI document](https://skmtc.dev/ecommerceapi/apis/product-customisation-fields/revisions/1021495167ad?raw)
