Packages

Update a package price rule

Replaces a PriceRule on a Package. The server validates the same shape as on create, so price is required. When offering_standard_price is enabled for the site, the package's standard_price must be set before a price rule can be updated. A zero amount counts as set. Requires the SETTINGS_MANAGE permission on the package's site.

put/shop/packages/{packageId}/price-rules/{priceRuleId}

Request body

priceinteger required

Price in the smallest currency unit.

date_fromstring date nullable

First date this rule applies (inclusive).

date_tostring date nullable

Last date this rule applies (inclusive).

time_fromstring nullable

Start of the time-of-day window in HH:MM.

time_tostring nullable

End of the time-of-day window in HH:MM.

weekdaysstring[]

Example request

{
  "price": 20000,
  "date_from": "2026-06-01",
  "date_to": "2026-08-31",
  "time_from": "10:00",
  "time_to": "14:00"
}

Response

A single PriceRule belonging to a Package.

Example response

{
  "data": {
    "price": 4800
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.