Alokai
You are reading the documentation for SDK v2, which is no longer the latest version. Switch to current

customerSignMeUp

Endpoint for registering a new user. By default, it uses the customerSignMeUpDefaultQuery GraphQL query

Signature

export declare function customerSignMeUp(
	context: SetupContext,
	draft: CustomerSignMeUpDraft,
	customQuery?: CustomQuery,
	responseOptions?: ResponseOptions
): Promise<CustomerSignMeUpResponse>;

Parameters

NameRequiredTypeDescription
contextRequiredSetupContextAutomatically injected context. Refer to SetupContext
draftRequiredCustomerSignMeUpDraftUser information
customQueryOptionalCustomQuery
responseOptionsOptionalResponseOptions

Returns

User data

Referenced Types

On this page