2025-02-18: Order Service - deprecated fields
Overview
Several fields in order's response have been deprecated in favor of new calculatedPrice
and unitPrice
fields. The new fields provide a more comprehensive and consistent way to access price calculations.
Deprecated order-level fields:
totalPrice
- usecalculatedPrice.finalPrice
insteadsubTotalPrice
- usecalculatedPrice.price
orcalculatedPrice.discountedPrice
insteadtaxAggregate
- usecalculatedPrice.finalPrice.taxAggregate
insteadsubtotalAggregate
- usecalculatedPrice.price
insteadtotalDiscount
- usecalculatedPrice.totalDiscount
insteadfeeYrnAggregate
- usecalculatedPrice.totalFees
anditems[].calculatedPrice.fees
insteadshipping
- usecalculatedPrice.totalShipping
insteaditemFeesTotal
- usecalculatedPrice.totalFee
insteadpaymentFeesTotal
- usecalculatedPrice.paymentFees
insteadtotalAuthorizedAmount
- usecalculatedPrice.upliftValue
instead
Deprecated order item-level fields:
price
- useunitPrice
insteaditemPrice
- useunitPrice
insteaditemTaxInfo
- usecalculatedPrice.price
insteadfees
- usecalculatedPrice.fees
insteadauthorizedAmount
- usecalculatedPrice.upliftValue
insteadtotalDiscount
- usecalculatedPrice.totalDiscount
insteadexternalFees
- usecalculatedPrice.fees
insteadcouponDiscounts
- usecalculatedPrice.totalDiscounts.appliedDiscounts
instead
Updated endpoints
Deprecated response fields in favor of calculatedPrice
and unitPrice
Deprecated response fields in favor of calculatedPrice
and unitPrice
Deprecated response fields in favor of calculatedPrice
and unitPrice
Deprecated response fields in favor of calculatedPrice
and unitPrice
Known problems
There are no known problems.
Last updated
Was this helpful?