Home > @vsf-enterprise/commercetools-api > customerSignMeUp
# customerSignMeUp() function
Endpoint for registering a new user. By default, it uses the customerSignMeUpDefaultQuery GraphQL query
Signature:
export declare function customerSignMeUp(context: Context, draft: CustomerSignMeUpDraft, customQuery?: CustomQuery): Promise<CustomerSignMeUpResponse>;
# Parameters
Parameter | Type | Description |
---|---|---|
context | Context | Automatically injected context. Refer to Context |
draft | CustomerSignMeUpDraft | User information |
customQuery | CustomQuery |
Returns:
Promise<CustomerSignMeUpResponse>
User data