curl -X POST \
/customers/{customerId}/email-addresses \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"email": "john.doe@example.com",
"receiverName": "John Doe"
}'
{
"id": "00000000-0000-0000-0000-000000000000",
"email": "john.doe@example.com",
"receiverName": "John Doe",
"type": "TYPE_COMPANY",
"default": "true"
}
Create customer email address
Required permissions:customer:write
curl -X POST \
/customers/{customerId}/email-addresses \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"email": "john.doe@example.com",
"receiverName": "John Doe"
}'
{
"id": "00000000-0000-0000-0000-000000000000",
"email": "john.doe@example.com",
"receiverName": "John Doe",
"type": "TYPE_COMPANY",
"default": "true"
}
Value for the Authorization header parameter.
CustomerEmail identifier
The new CustomerEmail resource
CustomerEmail resource created
Was this page helpful?