2025-02-18: Cart Service - deprecated fields
Overview
Several fields in cart's response have been deprecated and are now replaced by calculatedPrice
and unitPrice
fields. The new fields provide a more comprehensive and consistent way to access price calculations.
Deprecated cart-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 cart 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 are replaced by calculatedPrice
and unitPrice
.
Deprecated response fields are replaced by calculatedPrice
and unitPrice
.
Deprecated response fields are replaced by calculatedPrice
and unitPrice
.
Known problems
There are no known problems.
Last updated
Was this helpful?