HomeGuidesAPI ReferenceChangelog
Terms of Use
Changelog

3.215.0 release notes

  1. ⚠️ Breaking changes
    1. Removed GET /public-api/resources/partner-invite-corporate-billing-policies/v1.0/{corporateBillingPolicy}/snapshots. Consumers that listed snapshots through the corporate billing policy resource must stop using this endpoint.
    2. Changed corporate billing policy snapshot retrieval from GET /public-api/resources/partner-invite-corporate-billing-policies/v1.0/{corporateBillingPolicy}/snapshots/{snapshot} to GET /public-api/resources/partner-invite-corporate-billing-policy-snapshots/v1.0/{corporateBillingPolicySnapshot}. Consumers must update the path they call.
  2. New features
    1. Added GET, POST, PATCH, and DELETE endpoints under /public-api/resources/partner-invites/v2.0, plus GET /public-api/resources/partner-invites/v2.0/{partnerInvite}. The new version supports direct corporateBillingPolicyId handling and returns invite details in the v2 response format.
    2. Added corporateBillingPolicyId to the corporate billing policy snapshot response on GET /public-api/resources/partner-invite-corporate-billing-policy-snapshots/v1.0/{corporateBillingPolicySnapshot}.
    3. Added the optional corporateBilling object to Session responses on GET /public-api/resources/sessions/v1.0 and GET /public-api/resources/sessions/v1.0/{session} when a session has corporate billing data. The object can include policySnapshotId, chargerType, chargerTypeCoverageType, corporateAmount, driverAmount, blendedCostPerKwh, isOverallCostCapApplied, restrictionCause, and a per-component breakdown.
    4. Added the optional filter.corporateBillingPolicyId and filter.hasCorporateBilling filters to GET /public-api/resources/sessions/v1.0.
    5. Added a 409 response to POST /public-api/actions/users/v1.0/{user}/clear-subscription-amount-due when a subscription payment is already in progress.
  3. 🗑️ Deprecations
    1. Deprecated the v1 Partner invites endpoints: GET /public-api/resources/partner-invites/v1.0, POST /public-api/resources/partner-invites/v1.0, GET /public-api/resources/partner-invites/v1.0/{partnerInvite}, PATCH /public-api/resources/partner-invites/v1.0/{partnerInvite}, and DELETE /public-api/resources/partner-invites/v1.0/{partnerInvite}. Migrate to the /public-api/resources/partner-invites/v2.0 endpoints.