Type Alias: CreateCart()
CreateCart: () =>
Promise
<{cartId
:string
; }>
Creates a new cart and returns its unique identifier.
Returns
Promise
<{ cartId
: string
; }>
A promise that resolves to an object containing the new cart ID.
Example usage:
const newCart = await window.mimeeqApp.actions.createCart();
console.log(newCart.cartId);