LogoLogo
Build appsContact API support
  • Build apps
  • Site Templates
  • API Reference
  • Changelog
  • Ecwid API Changelog
  • May 2025
    • May 16
  • April 2025
    • April 25
    • April 11
  • March 2025
    • March 28
    • March 25
    • March 20
    • March 17

Lightspeed® 2025

On this page

Was this helpful?

  1. March 2025
  2. March 28

New details in the Ecwid.Cart.get() method from JS API

Last updated 1 month ago

Was this helpful?

What's new

Ecwid JS API now allows you to receive more cart details without making any backend calls through the Ecwid.Cart.get() method.

Changes in API

The Ecwid.Cart.get() method now responds with more data.

  • New fields in the cart object: total, subtotal, tax, isPricesIncludeTax .

  • New fields in the cart -> items[] -> product object: isCustomerSetPrice, selectedPrice, mediaItem, recurringChargeSettings

New fields allow you to check the following new order details without backend API calls:

  • Order total, subtotal and tax costs.

  • Links to images of products added to the cart.

  • Details of subscription products in the cart.

Documentation links

Get cart details