getCurrentCart( )


Retrieves the current site visitor's cart.

The getCurrentCart() function returns a Promise that resolves when the current cart is retrieved.

Permissions
Manage eCommerce - all permissions
Read eCommerce - all read permissions
Manage Stores - all permissions
Read Stores - all read permissions
Manage Orders
Read Orders
Manage Restaurants - all permissions
Learn more about app permissions.
Method Declaration
Copy
Request
This method does not take any parameters
Returns
Return Type:Promise<Cart>
Did this help?