cURL
curl -X POST \ /customer-email-addresses/{id}/default \ --header "Authorization: Bearer <token>"
{ "id": "00000000-0000-0000-0000-000000000000", "email": "john.doe@example.com", "receiverName": "John Doe", "type": "TYPE_COMPANY", "default": "true" }
Set a customer email as default. The default will be set only for the email type of the given email.
customer:write
Value for the Authorization header parameter.
CustomerEmail identifier
CustomerEmail resource created
Was this page helpful?