Alokai

LoginCustomerResponse

Response of login customer.

interface LoginCustomerResponse {
	customer_id?: null | number;
	errorMessage?: string;
	is_valid?: boolean;
	token?: string;
}

Properties

NameRequiredTypeDescription
customer_idOptionalnull | numberThe unique numeric ID of the customer.
errorMessageOptionalstringError message.
is_validOptionalbooleanIndicates if the provided credentials are valid.
tokenOptionalstringAuthentication token

On this page