Some fields in the the Stores Cart API cart object are now held in the eCommerce Checkout API checkout object. To learn more, refer to the table below for changes in name and/or location.
The address object used in the eCommerce APIs is slightly different to the one used in the Stores APIs. For more details, refer to the address object conversion table.
Fields that remain with the same name, in the same location, and with no changes in behavior are marked with an asterisk (*).
| Stores Cart Object | eCommerce Checkout Object | 
|---|---|
| id | - | 
| status | - | 
| weightUnit* | weightUnit | 
| buyerNote* | buyerNote | 
| currency.code | currency | 
| currency.symbol | No longer returned. Instead, for every price returned, we also provide the formatted price in checkout.priceSummaryand/ororder.priceSummary. | 
| billingAddress.address | billingInfo.address- See address object conversion table for more details. | 
| billingAddress.contactDetails.firstName | billingInfo.contactDetails.firstName | 
| billingAddress.contactDetails.lastName | billingInfo.contactDetails.lastName | 
| billingAddress.contactDetails.phone | billingInfo.contactDetails.phone | 
| billingAddress.contactDetails.company | billingInfo.contactDetails.company | 
| billingAddress.contactDetails.vatId | billingInfo.contactDetails.vatId | 
| billingAddress.contactDetails.email | billingInfo.buyerInfo.email | 
| appliedCoupon.couponId | appliedDiscounts[i].coupon._id- The coupon is now an item in theappliedDiscountsarray. To get it, search theappliedDiscountsarray for thecouponfield. | 
| appliedCoupon.code | appliedDiscounts[i].coupon.code- The coupon is now an item in theappliedDiscountsarray. To get it, search theappliedDiscountsarray for thecouponfield. | 
| appliedCoupon.name | appliedDiscounts[i].coupon.name- The coupon is now an item in theappliedDiscountsarray. To get it, search theappliedDiscountsarray for thecouponfield. | 
| appliedCoupon.discountValue | appliedDiscounts[i].coupon.amount.amount- The coupon is now an item in theappliedDiscountsarray. To get it, search theappliedDiscountsarray for thecouponfield. | 
| appliedCoupon.couponType | No longer returned. | 
| totals.subtotal | priceSummary.subtotal.amount | 
| totals.shipping | priceSummary.shipping.amount | 
| totals.tax | priceSummary.tax.amount | 
| totals.discount | priceSummary.discount.amount | 
| totals.total | priceSummary.total.amount | 
| totals.weight | lineItems[i].physicalProperties.weightXlineItems[i].quantity | 
| totals.quantity | lineItems[0].quantity+lineItems[1].quantity+lineItems[2].quantity | 
| convertedTotals.subtotal | priceSummary.subtotal.convertedAmount | 
| convertedTotals.shipping | priceSummary.shipping.convertedAmount | 
| convertedTotals.tax | priceSummary.tax.convertedAmount | 
| convertedTotals.discount | priceSummary.discount.convertedAmount | 
| convertedTotals.total | priceSummary.total.convertedAmount | 
| convertedTotals.weight | No weight conversion in checkout. Same value as Stores cart.totals.weight. | 
| convertedTotals.quantity | Same value as Stores cart.totals.quantity. | 
| shippingInfo.shippingRuleDetails.ruleId | ֿֿֿֿֿֿֿֿshippingInfo.region._id | 
| shippingInfo.shippingRuleDetails.optionId | ֿֿֿֿֿֿֿֿshippingInfo.selectedCarrierServiceOption.title | 
| shippingInfo.shippingRuleDetails.deliveryOption | ֿֿֿֿֿֿֿֿshippingInfo.selectedCarrierServiceOption.title | 
| shippingInfo.shippingRuleDetails.estimatedDeliveryTime | ֿֿֿֿֿֿֿֿshippingInfo.logistics.deliveryTime | 
| shippingInfo.pickupDetails.pickupAddress | shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address- See address object conversion table for more details. | 
| shippingInfo.pickupDetails.buyerDetails.firstName | shippingInfo.shippingDestination.contactDetails.firstName | 
| shippingInfo.pickupDetails.buyerDetails.lastName | shippingInfo.shippingDestination.contactDetails.lastName | 
| shippingInfo.pickupDetails.buyerDetails.email | buyerInfo.email | 
| shippingInfo.pickupDetails.buyerDetails.phone | shippingInfo.shippingDestination.contactDetails.phone | 
| shippingInfo.pickupDetails.pickupInstructions | shippingInfo.logistics.instructions | 
| shippingInfo.shippingAddress.address | shippingInfo.shippingDestination.address- See address object conversion table for more details. | 
| shippingInfo.shippingAddress.contactDetails | shippingInfo.shippingDestination.contactDetails | 
| buyerInfo.idandbuyerInfo.identityType: CONTACT | buyerInfo.contactIdonly. | 
| buyerInfo.idandbuyerInfo.identityType: VISITOR | buyerInfo.visitorIdonly. | 
| buyerInfo.idandbuyerInfo.identityType: MEMBER | buyerInfo.memberIdonly. | 
| buyerInfo.email* | buyerInfo.email | 
| buyerInfo.phone | billingInfo.contactDetails.phone | 
| buyerInfo.firstName | billingInfo.contactDetails.firstName | 
| buyerInfo.lastName | billingInfo.contactDetails.lastName | 
| lineItems[i].id | lineItems[i]._id- Note: this_idis of type GUID. In the Stores Cart API, theidis of type Int32. | 
| lineItems[i].productId | lineItems[i].catalogReference.catalogItemId | 
| lineItems[i].name | lineItems[i].productName.original | 
| lineItems[i].quantity* | lineItems[i].quantity | 
| lineItems[i].weight | lineItems[i].physicalProperties.weight | 
| lineItems[i].sku | lineItems[i].physicalProperties.sku | 
| lineItems[i].lineItemType: "PHYSICAL" | lineItems[i].itemType.preset: "PHYSICAL" | 
| lineItems[i].lineItemType: "DIGITAL" | lineItems[i].itemType.preset: "DIGITAL" | 
| lineItems[i].lineItemType: "CUSTOM_AMOUNT_ITEM | lineItems[i].itemType.customandlineItems[i].catalogReferenceis empty. | 
| lineItems[i].notes | lineItems[i].descriptionLines[i].plainText.original | 
| lineItems[i].customTextFields | lineItems[i].descriptionLines | 
| lineItems[i].mediaItem.mediaType | All line item media in the eCommerce Cart, Checkout, and Order APIs are images. | 
| lineItems[i].mediaItem.url | lineItems[i].media.url | 
| lineItems[i].mediaItem.width | lineItems[i].media.width | 
| lineItems[i].mediaItem.height | lineItems[i].media.height | 
| lineItems[i].options | lineItems[i].catalogReference.options | 
| lineItems[i].priceData.price | lineItems[i].price.amount | 
| lineItems[i].priceData.totalPrice | lineItems[i].price.amountXlineItems[i].quantity | 
| lineItems[i].convertedPriceData.price | lineItems[i].price.convertedAmount | 
| lineItems[i].convertedPriceData.totalPrice | lineItems[i].price.convertedAmountXlineItems[i].quantity |