Typescript SDK Type Docs
    Preparing search index...

    Interface CustomerSignInResult

    interface CustomerSignInResult {
        cart?: Cart;
        customer: Customer;
    }
    Index

    Properties

    Properties

    cart?: Cart

    Cart associated with the Customer.

    The Cart is recalculated to remove invalid Line Items and apply the latest prices, taxes, and discounts.
    During these updates, the following errors can be returned: [MatchingPriceNotFound](ctp:api:type:MatchingPriceNotFoundError) and [MissingTaxRateForCountry](ctp:api:type:MissingTaxRateForCountryError).
    
    For more information, see [Cart updates](/../api/carts-orders-overview#update-a-cart).
    
    customer: Customer

    Customer signed up or signed in after authentication.