Create customer
hub_create_customerCreate a customer. Call get_customers with the email or name FIRST — a duplicate splits one person’s order history in two and there is no merge from here. Email is required, exactly as in the cabinet's own customer form. Ask the merchant for anything you do not know instead of inventing it — an invented phone number or address is worse than a missing one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | A first note about this customer, if the merchant gave one | |
| Yes | Required — the customer’s email address | ||
| phone | No | Phone as the merchant said it, e.g. "+1 555 123 4567" | |
| billing | No | Billing address | |
| lastName | No | ||
| shipping | No | Shipping address. Omit to reuse the billing address | |
| firstName | No |