Add a customer to a mailing list
POST
https://api.tamio.com/v2/customers/add-to-list/{uuid}
Adds a single customer to a mailing list. A subscriber record is automatically created if one does not exist for the customer's email.
Path Parameters
uuid
string*
UUID of the customer
Body Parameters
mailing_list
string*
UUID of the mailing list
Responses
200
Customer added to mailing list
Customer added to mailing list
status
integer
customers
array of string
400
Validation or business-logic error. Possible `error_code` values:
Validation or business-logic error. Possible error_code values:
1002– ResourceNotFound: customer or mailing list not found
status
integer
error
string
error_code
integer
401
Unauthorized – invalid or missing Bearer token
Unauthorized – invalid or missing Bearer token
status
integer
error
string