updateCurrentCart( )
Updates the current site visitor's cart.
The updateCurrentCart()
function returns a Promise that resolves when the current cart's properties are updated.
Note: When updating catalog items, options.lineItems.catalogReference
is required.
Permission Scopes
For app development, you must have one of the following permission scopes:Manage Stores - all permissions
Manage eCommerce - all permissions
Learn more about permission scopes.
Method Declaration
Copy
Method Parameters
optionsUpdateCurrentCartOptions
Current cart update options.
Returns
Return Type:Promise<Cart>
Was this helpful?
Yes
No