---
title: "product.attribute.list"
method: GET
path: "/product.attribute.list.json"
tags: ["product"]
---

# product.attribute.list

`GET /product.attribute.list.json`

## Request

- Base URL: `https://api.api2cart.com/v1.1`
- URL: `https://api.api2cart.com/v1.1/product.attribute.list.json`
- Auth: API key in header `x-api-key` and API key in header `x-store-key`

Get list of attributes and values.

## Query parameters

- `start` integer
- `count` integer
- `page_cursor` string
- `product_id` string, required
- `attribute_id` string
- `variant_id` string
- `attribute_group_id` string
- `lang_id` string
- `store_id` string
- `set_name` string
- `sort_by` string
- `sort_direction` string
- `response_fields` string
- `params` string
- `exclude` string

## Response `200`

successful operation

- ModelResponseProductAttributeList
  - `return_code` integer, nullable
  - `return_message` string, nullable
  - `pagination` Pagination
    - `previous` string, nullable
    - `next` string, nullable
    - `additional_fields` object, nullable
    - `custom_fields` object, nullable
  - `result` ResponseProductAttributeListResult
    - `attribute` ProductAttribute[]
      - `attribute_id` string
      - `code` string
      - `name` string
      - `lang_id` string, nullable
      - `store_id` string, nullable
      - `value` string, nullable
      - `required` boolean, nullable
      - `visible` boolean, nullable
      - `type` string, nullable
      - `position` integer, nullable
      - `attribute_group_id` string, nullable
      - `product_id` string, nullable
      - `variant_id` string, nullable
      - `additional_fields` object, nullable
      - `custom_fields` object, nullable
    - `additional_fields` object, nullable
    - `custom_fields` object, nullable
  - `additional_fields` object, nullable
  - `custom_fields` object, nullable

---

[API](https://skmtc.dev/api2cart/apis/api2cart-openapi.md) · [All operations](https://skmtc.dev/api2cart/apis/api2cart-openapi/llms.txt) · [OpenAPI document](https://skmtc.dev/api2cart/apis/api2cart-openapi/revisions/c34440741693?raw)
