namespace CoreConnect.Commerce.Customer;
public record SignInRequest
public SignInRequest(string email, string password, string? cartId = null, bool useNewCart = true, string? anonymousId = null, bool? cartAssociatedBusinessUnit = true, string? businessUnitKey = null, string? currencyCode = null)
AnonymousId = anonymousId;
CartAssociatedBusinessUnit = cartAssociatedBusinessUnit;
BusinessUnitKey = businessUnitKey;
CurrencyCode = currencyCode;
public string Email { get; set; }
public string Password { get; set; }
public string? CartId { get; set; }
public bool UseNewCart { get; set; }
/// Optional anonymous session id if applicable.
public string? AnonymousId { get; set; }
public bool? CartAssociatedBusinessUnit { get; set; }
/// Specified BusinessUnit key
public string? BusinessUnitKey { get; set; }
/// Optional currency code override. Falls back to the request context currency when not set.
public string? CurrencyCode { get; set; }
public record RefreshTokenRequest
public required string RefreshToken { get; set; }
public Dictionary<string, string>? RefreshValues { get; set; }