---
title: "Get an attribute"
method: GET
path: "/v1/attributes/{groupName}"
tags: ["attributes"]
---

# Get an attribute

`GET /v1/attributes/{groupName}`

Get attribute group specified by `groupName`. The response will also include the available attribute values for the attribute group.

## Path parameters

- `groupName` string, required

## Query parameters

- `shopId` string, required

## Response `200`

successful operation

- Attribute
  - `id` integer, required
  - `key` string, required — Reference that identifies the attribute
  - `label` string, required — The label that describes the attribute group will be set according to the shop's language in the SCAYLE Panel.
  - `multiSelect` boolean, required — A flag which determines whether an attribute has a single or possibly multiple values.
  - `type` string, required — Attribute type
  - `values` AttributeValue[], nullable — The values are a collection of attributes from the attribute group.
    - `id` integer
    - `label` string
    - `value` string

## Other responses

- `400` — Required query parameter missing / invalid
- `401` — Authentication information is missing or invalid
- `404` — The specified resource was not found

## Changes

> 3 revisions in range; 1 could not be searched.

- **2023-08-06** `302b7c443b51` — 5 breaking, 1 warning
  - the response property `id` became nullable for the status `200`
  - the response property `type` became nullable for the status `200`
  - the response property `values/items/id` became nullable for the status `200`
  - the response property `values/items/label` became nullable for the status `200`
  - …2 more

[Change history](https://skmtc.dev/scayle/apis/storefront-api-documentation/changes/v1/attributes/:groupName/get.md)

---

[API](https://skmtc.dev/scayle/apis/storefront-api-documentation.md) · [All operations](https://skmtc.dev/scayle/apis/storefront-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/scayle/storefront-api-documentation/revisions/8cfa924ae703/schema)
