---
title: "product.variant.price.add"
method: POST
path: "/product.variant.price.add.json"
tags: ["product"]
---

# product.variant.price.add

`POST /product.variant.price.add.json`

## Request

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

Add some prices to the product variant.

## Request body

- ProductVariantPriceAdd
  - `id` string: Defines the variant to which the price has to be added
  - `product_id` string: Product id
  - `group_prices` object[], required: Defines variants's group prices
    - `group_id` string
    - `price` number
    - `qty` integer
  - `store_id` string: Store Id

## Response `200`

successful operation

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