create_store_customer
Create a new customer in a Mailchimp e-commerce store, linking their email address and purchase activity. Optionally subscribe them to the connected audience.
Instructions
Create a customer in a store, linking their purchase activity to an email address.
The opt_in_status controls whether the customer is added to the store's connected audience as a subscriber. Many stores sync customers automatically via Shopify or WooCommerce integrations; these manual writes suit custom or headless storefronts.
Args: store_id: E-commerce store ID. customer_id: Client-supplied unique ID for the new customer. email_address: Customer's email address. opt_in_status: Whether to subscribe the customer to the connected audience (bool). additional_fields: Optional dict of extra documented fields (e.g. first_name, last_name, company, address) merged into the request body.
Returns: JSON with the created customer object.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | ||
| store_id | Yes | ||
| customer_id | Yes | ||
| email_address | Yes | ||
| opt_in_status | Yes | ||
| additional_fields | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |