Loading...
Was this page helpful?
This documentation provides a reference to the createCustomersStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step creates one or more customers.
CreateCustomersStepInput
CreateCustomersStepInputcompany_name
null | stringOptionalfirst_name
null | stringOptionallast_name
null | stringOptionalemail
null | stringOptionalphone
null | stringOptionalcreated_by
null | stringOptionalhas_account
booleanOptionalCustomerDTO[]
CustomerDTO[]id
stringemail
stringhas_account
booleandefault_billing_address_id
null | stringdefault_shipping_address_id
null | stringcompany_name
null | stringfirst_name
null | stringlast_name
null | stringaddresses
CustomerAddressDTO[]phone
null | stringgroups
object[]metadata
Record<string, unknown>created_by
null | stringdeleted_at
null | string | Datecreated_at
string | Dateupdated_at
string | Date