| PATCH | /customers/giftcontacts/{GiftContactId} |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| GiftContactId | path | string | Yes | The gift contact identifier |
| Title | query | PersonTitle? | No | Person titleAllowable Values
|
| FirstName | query | string | No | First name |
| LastName | query | string | No | Last name |
| query | string | No | Email address | |
| HomePhone | query | string | No | Home Phone |
| MobilePhone | query | string | No | Mobile Phone |
| Address | query | Address | No | Contact address |
| RequestReference | query | RequestReference | No | Attribution values associated to the request if any |
| Mr |
| Mrs |
| Miss |
| Ms |
| Dr |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Street | form | string | No | |
| City | form | string | No | |
| ZipCode | form | string | No | |
| State | form | string | No | |
| CountryRegionId | form | string | No | |
| DPID | form | int | No | |
| Suburb | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CampaignId | form | string | No | |
| RetailChannelId | form | string | Yes | |
| ReferenceId | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PATCH /customers/giftcontacts/{GiftContactId} HTTP/1.1
Host: azs-stg-lotteries-web.azurewebsites.net
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
giftContactId: String,
title: Mr,
firstName: String,
lastName: String,
email: String,
homePhone: String,
mobilePhone: String,
address:
{
street: String,
city: String,
zipCode: String,
state: String,
countryRegionId: String,
dpid: 0,
suburb: String
},
requestReference:
{
campaignId: String,
retailChannelId: String,
referenceId: String
}
}