Skip to main content

Type Alias: CreateCart()

CreateCart: () => Promise<object>

Returns

Promise<object>

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);

cartId

cartId: string