Create Email
Request
POST /v2/customers/100/emails HTTP/1.1
Authorization: Bearer oauth_token
Content-Type: application/json
{
"type" : "work",
"value" : "dasilva@football.com"
}
Path Parameters
/v2/customers/{customerId}/emails
Request fields
Path | Type | Required | Description |
---|---|---|---|
type |
String |
Y | Location for this email address. Accepted values are:home other work . |
value |
String |
Y |
Response
HTTP/1.1 201 Created
Resource-ID: 500
Response Headers
Name | Description |
---|---|
Resource-Id |
Internal ID of the newly created email |