Skip to main content

Create Customer

Create a new customer in the shop.

Parameters

ParameterDescription
AddressesJSON array of address objects to set for the customer.

Input example:
[{
"address1": "Chestnut Street 92",
"address2": "Apartment 2",
"city": "Louisville",
"company": null,
"country": "united states",
"first_name": "Bob",
"id": 207119551,
"last_name": "Norman",
"phone": "555-625-1199",
"province": "Kentucky",
"zip": "40202",
"province_code": "KY",
"country_code": "US",
"country_name": "United States",
"default": true
}]
Email AddressEmail address of the customer. Customer must have either a unique email or name.
First NameFirst name for the customer. Customer must have either a unique email or name.
Last NameLast name for the customer. Customer must have either a unique email or name.
MetafieldsJSON array of metafields to set on the customer.

Input example:
[{
"key":"new",
"value":"newvalue",
"type":"single_line_text_field",
"namespace":"global"
}]
NoteAn additional note to save on the customer.
PasswordInitial customer password. Can also be set by the customer if send_email_invite is true.
Phone NumberE.164 formatted phone number of the customer. Customer must have either a unique email or phone number.
Send Email InviteWhether the customer should be sent an email invitation to verify and set credentials.
Tagscomma-separatedlist of tags to add to this customer.
Verified EmailWhether the customer has verified their email address.

Workflow Library Example

Create Customer with Shopify and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop