Multi-Location Carts
Version 1 of the SDK brings the ability to create carts before you set a location.
Breaking Changes
The following CartItem fields have changed from Scalars["Money"]
to Maybe<Scalars["Money"]>
to accommodate carts that don't yet have a location:
- discountAmount
- lineTotal
- price
- taxAmount
Additions
- Fetch locations for an item with CartAvailableBookingItem.getLocationVariants
- Set a location on a cart with Cart.setLocation