v1

latestOpenAPI 3.1.02026-07-2665153355.3 KB

Update a Price Point

Updates a price point.

When a price point is updated, Appcharge recalculates all localized prices. If both priceInUsdCents and priceOverrides are provided in the same request, Appcharge first recalculates localized prices from the updated base price and then applies the override values.

put/v1/price-points/{priceInUsdCents}

Path parameters

priceInUsdCentsnumber required
Example:999

Base price in USD cents.

Request body

updatedPriceInUsdCentsnumber

New base price in USD cents.

Example request

{
  "updatedPriceInUsdCents": 999,
  "priceOverrides": [
    {
      "countryCode2": "BR",
      "price": 29.99
    }
  ]
}

Response

Price point updated successfully.

priceInUsdCentsnumber

Base price in USD cents.

lastUpdatestring date-time

Timestamp indicating when the price point was last updated, in UTC ISO 8601 format.

Example response

{
  "priceInUsdCents": 999,
  "lastUpdate": "2026-01-01T14:30:00Z",
  "priceByCountry": [
    {
      "price": 7.99,
      "currencyCode": "GBP",
      "taxModel": "Included",
      "taxRate": 20,
      "country": "United Kingdom",
      "countryCode2": "GB",
      "usdExchangeRateOnCalc": 0.79,
      "exchangeRateDrift": "-1.2%"
    }
  ]
}