create_customer
Create a customer in Sapo with an email or phone. Optionally include addresses for inline creation, returning the new customer with auto-generated ID.
Instructions
Create a new customer. Must provide either email OR phone (or both). Optionally include addresses array for inline address creation. Returns the created customer including auto-generated id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dob | No | Birth date in YYYY-MM-DD. | |
| note | No | ||
| tags | No | Comma-separated tags. | |
| No | Customer email address. | ||
| phone | No | Customer phone number (E.164 format recommended). | |
| gender | No | ||
| addresses | No | Optional inline addresses to create with the customer. | |
| last_name | No | ||
| first_name | No | ||
| verified_email | No | ||
| accepts_marketing | No |