Interface: BasketUpdatedEventPayload
Payload for the mimeeq-basket-updated event.
Dispatched when items are added, removed, or quantities change in the basket, or when prices are recalculated. Provides a snapshot of the current basket state.
Properties
cartId
cartId:
string
Unique identifier of the basket.
currency
currency:
string
Currency code for the basket (e.g., 'USD', 'EUR').
items
items:
CartItem[]
Array of cart items currently in the basket.
quantity
quantity:
number
Total number of items in the basket.
totalPrice
totalPrice:
number
Total price of all items in the basket.