---
title: "Get an attribute option"
method: GET
path: "/api/rest/v1/attributes/{attribute_code}/options/{code}"
tags: ["Attribute option"]
---

# Get an attribute option

`GET /api/rest/v1/attributes/{attribute_code}/options/{code}`

This endpoint allows you to get the information about a given attribute option.

## Path parameters

- `attribute_code` string, required
- `code` string, required

## Response `200`

OK

- object
  - `code` string, required — Code of option
  - `attribute` string — Code of attribute related to the attribute option
  - `sort_order` integer — Order of attribute option
  - `labels` object — Attribute option labels for each locale
    - `localeCode` string — Attribute option label for the locale `localeCode`

## Other responses

- `401` — Authentication required
- `403` — Access forbidden
- `404` — Resource not found
- `406` — Not Acceptable

---

[API](https://skmtc.net/akeneo/apis/akeneo-pim-rest-api.md) · [All operations](https://skmtc.net/akeneo/apis/akeneo-pim-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/akeneo/akeneo-pim-rest-api/versions/d8bda9b93b59/schema)
