HomeGuidesAPI ReferenceChangelog
Terms of Use
Changelog

3.186.0 release notes

  1. New features
    1. Added expanded restriction options to energy coupon templates. The restrictions object now supports locationRestriction, locationTagRestriction, userGroupRestriction, minSessionEnergyWh, and maxSessionEnergyWh (alongside the existing country and partner restrictions) as optional request properties on POST /public-api/resources/energy-coupon-templates/v1.0 and PATCH /public-api/resources/energy-coupon-templates/v1.0/{energyCouponTemplate}, and as response properties on GET /public-api/resources/energy-coupon-templates/v1.0, GET /public-api/resources/energy-coupon-templates/v1.0/{energyCouponTemplate}, POST /public-api/resources/energy-coupon-templates/v1.0, and PATCH /public-api/resources/energy-coupon-templates/v1.0/{energyCouponTemplate}.
    2. Added restriction support to energy coupons. POST /public-api/resources/energy-coupons/v1.0 now accepts an optional restrictions object covering country, partner, location, location tag, and user group restrictions, personal-charge-points-only, and min/max session energy. The restrictions object is now also returned on GET /public-api/resources/energy-coupons/v1.0, POST /public-api/resources/energy-coupons/v1.0, GET /public-api/resources/energy-coupons/v1.0/{energyCoupon}, and POST /public-api/actions/energy-coupon/v1.0/redeem-code.
    3. Added the optional pendingReason property to Transaction responses on GET /public-api/resources/transactions/v1.0, POST /public-api/resources/transactions/v1.0, GET /public-api/resources/transactions/v1.0/{transaction}, and PATCH /public-api/resources/transactions/v1.0/{transaction}. It is included only when the transaction is pending. Also added a new pendingReason filter to GET /public-api/resources/transactions/v1.0.
    4. Added the optional suppressSelfNotifications property to the Notifications request body on POST /public-api/notifications/v2.0 and PUT /public-api/notifications/v2.0/{notification}, and as a response property on GET /public-api/notifications/v2.0, POST /public-api/notifications/v2.0, GET /public-api/notifications/v2.0/{notification}, and PUT /public-api/notifications/v2.0/{notification}.
    5. Added the optional invoiceNumberPrefix, startingInvoiceNumber, receiptsPrefix, receiptsStartingNumber, options.allowToControlCpConfigurations, and options.supplierOnInvoices properties to the Partners request body on POST /public-api/resources/partners/v2.0 and PATCH /public-api/resources/partners/v2.0/{partner}, and as response properties on GET /public-api/resources/partners/v2.0, POST /public-api/resources/partners/v2.0, GET /public-api/resources/partners/v2.0/{partner}, and PATCH /public-api/resources/partners/v2.0/{partner}.
  2. 🔧 Improvements
    1. Changed the status field on Consent responses to reflect the true agreed, rejected, or pending state derived from both the agreement and rejection timestamps, instead of defaulting to rejected whenever no agreement timestamp was present.
    2. Changed POST /public-api/actions/users/v1.0/{user}/activate-subscription to return a clear 404 "plan not found" error when the supplied subscription plan does not exist, instead of an unclear failure response.