HomeGuidesAPI ReferenceChangelog
Terms of Use
Changelog

3.187.0 release notes

  1. New features
    1. Added support for creating and updating tariffs of type discount on POST /resources/tariffs/v1.0 and PUT /resources/tariffs/v1.0/{tariff} via the new optional discountTariffSettings request object. The object accepts discountReferenceType, referencedTariffId (required when discountReferenceType is specific_tariff), and discountMode. When discountMode is global, provide discountPercentage (0–100). When discountMode is per_element, provide discountElements — an array of items, each with serviceFeeType, discountType, and discountValue (capped at 100 when discountType is percentage).
    2. Added the discountTariffSettings response object to Tariff payloads returned by GET /resources/tariffs/v1.0, GET /resources/tariffs/v1.0/{tariff}, POST /resources/tariffs/v1.0, and PUT /resources/tariffs/v1.0/{tariff}. It is present only when the tariff type is discount and mirrors the request structure.
  2. 🔧 Improvements
    1. The pricing object on Tariff responses now reflects the derived (post-discount) pricing for tariffs of type discount, allowing consumers to read the effective price structure directly instead of resolving the referenced tariff and applying the discount client-side.