# UpdatePriceRequest

## Example Usage

```typescript
import { UpdatePriceRequest } from "@flexprice/sdk/sdk/models";

let value: UpdatePriceRequest = {};
```

## Fields

| Field                                                                                                                                                                                                                                                                                               | Type                                                                                                                                                                                                                                                                                                | Required                                                                                                                                                                                                                                                                                            | Description                                                                                                                                                                                                                                                                                         |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `amount`                                                                                                                                                                                                                                                                                            | *string*                                                                                                                                                                                                                                                                                            | :heavy_minus_sign:                                                                                                                                                                                                                                                                                  | Amount is the new price amount that overrides the original price (optional)                                                                                                                                                                                                                         |
| `billingModel`                                                                                                                                                                                                                                                                                      | [models.BillingModel](../../sdk/models/billing-model.md)                                                                                                                                                                                                                                            | :heavy_minus_sign:                                                                                                                                                                                                                                                                                  | N/A                                                                                                                                                                                                                                                                                                 |
| `description`                                                                                                                                                                                                                                                                                       | *string*                                                                                                                                                                                                                                                                                            | :heavy_minus_sign:                                                                                                                                                                                                                                                                                  | N/A                                                                                                                                                                                                                                                                                                 |
| `displayName`                                                                                                                                                                                                                                                                                       | *string*                                                                                                                                                                                                                                                                                            | :heavy_minus_sign:                                                                                                                                                                                                                                                                                  | N/A                                                                                                                                                                                                                                                                                                 |
| `effectiveFrom`                                                                                                                                                                                                                                                                                     | *string*                                                                                                                                                                                                                                                                                            | :heavy_minus_sign:                                                                                                                                                                                                                                                                                  | N/A                                                                                                                                                                                                                                                                                                 |
| `groupId`                                                                                                                                                                                                                                                                                           | *string*                                                                                                                                                                                                                                                                                            | :heavy_minus_sign:                                                                                                                                                                                                                                                                                  | GroupID is the id of the group to update the price in.<br/>If not provided (nil), the group will not be changed<br/>If provided as empty string (""), the group will be removed (price will be ungrouped)<br/>If provided as a group ID, the price will be assigned to that group (must exist and be published) |
| `lookupKey`                                                                                                                                                                                                                                                                                         | *string*                                                                                                                                                                                                                                                                                            | :heavy_minus_sign:                                                                                                                                                                                                                                                                                  | All price fields that can be updated<br/>Non-critical fields (can be updated directly)                                                                                                                                                                                                              |
| `metadata`                                                                                                                                                                                                                                                                                          | Record<string, *string*>                                                                                                                                                                                                                                                                            | :heavy_minus_sign:                                                                                                                                                                                                                                                                                  | N/A                                                                                                                                                                                                                                                                                                 |
| `priceUnitAmount`                                                                                                                                                                                                                                                                                   | *string*                                                                                                                                                                                                                                                                                            | :heavy_minus_sign:                                                                                                                                                                                                                                                                                  | PriceUnitAmount is the price unit amount (for CUSTOM price unit type, FLAT_FEE/PACKAGE billing models)                                                                                                                                                                                              |
| `priceUnitTiers`                                                                                                                                                                                                                                                                                    | [models.CreatePriceTier](../../sdk/models/create-price-tier.md)[]                                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                                                                                  | PriceUnitTiers are the price unit tiers (for CUSTOM price unit type, TIERED billing model)                                                                                                                                                                                                          |
| `tierMode`                                                                                                                                                                                                                                                                                          | [models.BillingTier](../../sdk/models/billing-tier.md)                                                                                                                                                                                                                                              | :heavy_minus_sign:                                                                                                                                                                                                                                                                                  | N/A                                                                                                                                                                                                                                                                                                 |
| `tiers`                                                                                                                                                                                                                                                                                             | [models.CreatePriceTier](../../sdk/models/create-price-tier.md)[]                                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                                                                                  | Tiers determines the pricing tiers for this line item                                                                                                                                                                                                                                               |
| `transformQuantity`                                                                                                                                                                                                                                                                                 | [models.PriceTransformQuantity](../../sdk/models/price-transform-quantity.md)                                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                                                                                                                  | N/A                                                                                                                                                                                                                                                                                                 |