---
title: "product.option.value.assign"
method: POST
path: "/product.option.value.assign.json"
tags: ["product"]
---

# product.option.value.assign

`POST /product.option.value.assign.json`

## Request

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

Assign product option item from product.

## Query parameters

- `product_option_id` integer, required
- `option_value_id` string, required
- `clear_cache` boolean
- `idempotency_key` string

## Response `200`

successful operation

- object
  - `return_code` integer
  - `return_message` string
  - `result` object
    - `product_option_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)
