Last updated

Car rental order details – Migrating to v3.2

Learn how to update your integration to support /orders/details/cars in Demand API v3.2. This guide explains breaking changes, new nested structures, and recommended migration practices.


Summary of key impacts

  • No changes to request schema.
  • Responses remain structurally compatible except for payment timing enum changes.
  • No fields were removed, but some enum values were renamed, which requires parser updates.
  • No new required fields.

Breaking changes

Breaking changes

These are the only breaking or integration-impacting changes between 3.1 and 3.2 versions.

Field / Areav3.1v3.2Type of ChangeImpact
products.policies.payment.timingpay_now, pay_local,pay_online_now, pay_at_pickup,Breaking (enum change)Requires mapping updates. Requests using old mappings may misinterpret payment rules.
Description of timing valuesNot explicitly aligned with car rental UX wordingUpdated to reflect clearer car-rental payment flowsNon-breaking but semantic changeImproves clarity; partners should align front-end wording.

Quick migration summary

Your existing requests for car order details will continue to work in v3.2 without modification.

The only required change is updating your response parser to use the new payment-timing enum values. All other fields and structures remain unchanged.

ChangeImpactNotes
Replace pay_nowpay_online_nowHighUpdate parser, UI labels, and internal mapping.
Replace pay_localpay_at_pickupHighRequired to correctly interpret the payment model.
Keep supporting unknownLowNo change.
Verify any payment-timing decision logicMediumTotals and commission flow are unchanged, but timing influences your logic for payment collection.
Update unit tests relying on old enumsMediumOld example payloads will not match v3.2 responses.

Other services details

Refer to orders/details migration guides for details:

3.2 Orders/details migration

Explore how to migrate to v3.2 and retrieve richer booking details for multiple verticals, including accommodation, filghts, cars, and attractions (in Beta).

3.2 Orders/details/accommodations migration

Explore how to migrate to v3.2 and retrieve richer booking details for accommodation.


What's next