---
title: Updates Product Variant Prices
description: Varyant fiyatlarını toplu günceller
---

```graphql
mutation UpdateVariantPrices($input: UpdateVariantPricesInput!) {
  updateVariantPrices(input: $input) { isSuccess errorInputs { priceListId productId variantId } }
}
```

### cURL

```bash
curl -X POST 'https://api.myikas.dev/api/v2/admin/graphql' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  --data-raw '{
    "query": "mutation UpdateVariantPrices($input: UpdateVariantPricesInput!) { updateVariantPrices(input: $input) { isSuccess errorInputs { priceListId productId variantId } } }",
    "variables": { "input": { "priceListId": null, "variantPriceInputs": [ { "deleted": false, "price": { "sellPrice": 15, "currency": "USD" }, "productId": "PRODUCT_ID", "variantId": "VARIANT_ID" } ] } }
  }'
```


