Skip to main content
Version: 3.x

customerCreate

Creates a new customer.

Requires MANAGE_USERSpermission.

Triggers the following webhook events:

  • CUSTOMER_CREATED (async): A new customer account was created.
  • CUSTOMER_METADATA_UPDATED (async): Optionally called when customer's metadata was updated.
  • NOTIFY_USER (async): A notification for setting the password.
  • ACCOUNT_SET_PASSWORD_REQUESTED (async): Setting a new password for the account is requested.
customerCreate(
input: UserCreateInput!
): CustomerCreate

Arguments

customerCreate.input ● UserCreateInput! non-null input

Fields required to create a customer.

Type

CustomerCreate object

Creates a new customer.

Requires MANAGE_USERSpermission.

Triggers the following webhook events:

  • CUSTOMER_CREATED (async): A new customer account was created.
  • CUSTOMER_METADATA_UPDATED (async): Optionally called when customer's metadata was updated.
  • NOTIFY_USER (async): A notification for setting the password.
  • ACCOUNT_SET_PASSWORD_REQUESTED (async): Setting a new password for the account is requested.

Was this page helpful?