BuyerIdentityActions
●cart · /react·type
Buyer-identity sync method added to when
CartCapabilities.buyerIdentity is true. Fires when the auth bridge
detects a changed identity so the adapter can associate the cart with
the authenticated user on the server.
Properties
PROPTYPEDESCRIPTION
updateBuyerIdentity
unknown
Example
const actions = useCartActions<{ buyerIdentity: true } & CartCapabilities>();
await actions.updateBuyerIdentity();Related
CartDevtools CartFormProps CartProviderProps AppCartConfig BaseCartActions CartActions CartAttributeActions CartPredictor
BaseCartActions
Minimum mutation surface every cart adapter must implement: add, update, and remove cart lines, plus clear to empty every line in one bulk mutation. Serves as t
cachePredictor
Build a line predictor that looks merchandise up via a hostsupplied KV getter (e.g., a product cache keyed by variant id). The returned partial merchandise is m