---
description: Graphql fields and variables for the priceListUpdate mutation
---

# priceListUpdate

Update a price list

**Scope required:** product:write

For a complete list of input attributes see the [PriceListAttributes](../../api-reference/types/pricelistattributes) type

```graphql
mutation priceListUpdate ($id: ID!, $attributes: PriceListAttributes!) {
  priceListUpdate (id: $id, attributes: $attributes) {
      errors
      priceList {
        basePrice
        code
        createdAt
        currencyId
        id
        isVisible
        monthlyBasePrice
        name
        periodMonths
        planId
        priceAdjustmentPercentage
        priceDescription
        productId
        renewalTermMonths
        showPriceAsMonthly
        sku
        trialAllowed
        trialLengthDays
        updatedAt
      }
  }
}
```

## Arguments

```json
{
  "id": "456123",
  "attributes": {
    "planId": "456123",
    "code": "",
    "name": "",
    "sku": "",
    "currencyId": "456123",
    "isVisible": true,
    "trialAllowed": true,
    "trialLengthDays": 123,
    "trialExpirationAction": "TrialExpirationAction",
    "renewalTermMonths": 123,
    "priceAdjustmentAction": "PriceAdjustmentAction",
    "priceAdjustmentTiming": "PriceAdjustmentTiming",
    "priceAdjustmentPercentage": "1.00",
    "showPriceAsMonthly": true
  }
}
```

| Name       | Type                                                                 | Description |
| ---------- | -------------------------------------------------------------------- | ----------- |
| id         | ID                                                                   |             |
| attributes | [PriceListAttributes](../../api-reference/types/pricelistattributes) |             |

## Response

| Name      | Type                                             | Description |
| --------- | ------------------------------------------------ | ----------- |
| errors    | List (String)                                    |             |
| priceList | [PriceList](../../api-reference/types/pricelist) |             |
