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

updateBuyerIdentity
unknown

Example

const actions = useCartActions<{ buyerIdentity: true } & CartCapabilities>();
await actions.updateBuyerIdentity();

CartDevtools CartFormProps CartProviderProps AppCartConfig BaseCartActions CartActions CartAttributeActions CartPredictor

Metadata@nordcom/commerce-cart@0.2.2Open in GitHub ↗

On this page