---
title: "product.attribute.value.set"
method: POST
path: "/product.attribute.value.set.json"
tags: ["product"]
---

# product.attribute.value.set

`POST /product.attribute.value.set.json`

## Request

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

Set attribute value to product.

## Query parameters

- `product_id` string, required
- `attribute_id` string
- `attribute_group_id` string
- `attribute_name` string
- `value` string
- `value_id` integer
- `lang_id` string
- `store_id` string
- `idempotency_key` string

## Response `200`

successful operation

- object
  - `return_code` integer
  - `return_message` string
  - `result` object
    - `product_id` string
    - `attribute_id` string
    - `value_id` string

---

[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)
