Add an email to a customer
shopmonkey_add_customer_emailAdd an email address to an existing customer, optionally as their primary address. Shopmonkey: POST /v3/customer/:id/email.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | The email address. | ||
| primary | No | Make this the customer's primary email. | |
| customerId | Yes | The customer id. | |
| locationId | No | The shop location id (see shopmonkey_get_current_user for the key's own location). | |
| subscribed | No | Whether the customer receives messages at this address. |