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)
AnonymousId = anonymousId;
CartAssociatedBusinessUnit = cartAssociatedBusinessUnit;
BusinessUnitKey = businessUnitKey;
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; }
public record RefreshTokenRequest
public required string RefreshToken { get; set; }
public Dictionary<string, string>? RefreshValues { get; set; }