Home > @vsf-enterprise/bigcommerce-api > Endpoints > createCustomer
# Endpoints.createCustomer() method
Creates the new customer
Signature:
createCustomer(context: BigcommerceIntegrationContext, params: CreateCustomerParameters): Promise<User>;
# Parameters
Parameter | Type | Description |
---|---|---|
context | BigcommerceIntegrationContext | An auto-generated value prepended to the method as a first parameter. |
params | CreateCustomerParameters | Parameters for createCustomer endpoint |
Returns:
Promise<User>