Home > widget-integration > CartAPI > getAll

CartAPI.getAll() method

Get all cart data from Shopify

Signature:

getAll(): Promise<CartResponse>;

Returns:

Promise<CartResponse>

Promise resolving to complete cart data including items, totals, and metadata

Exceptions

Error if cart fetch fails