PUT loyalty/profile/{cardNumber}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
cardNumber

string

Required

Body Parameters

MemberProfileLoyaltyRequest
NameDescriptionTypeAdditional information
profileExists

boolean

None.

memberAccountId

integer

None.

cardNumber

string

None.

firstName

string

None.

lastName

string

None.

memberCompany

string

None.

driversLicense

string

None.

address1

string

None.

address2

string

None.

city

string

None.

stateProvince

string

None.

country

string

None.

postalCode

string

None.

emailAddress

string

None.

phoneNumber

string

None.

otherPhoneNumber

string

None.

dateOfBirth

string

None.

dateOfBirthLocale

string

None.

anniversaryDate

string

None.

anniversaryDateLocale

string

None.

companyDefinedFields

Dictionary of integer [key] and string [value]

None.

company

string

None.

companyUsername

string

None.

companyPassword

string

None.

requestUser

string

None.

requestPassword

string

None.

Request Formats

application/json, text/json

Sample:
{
  "profileExists": true,
  "memberAccountId": 2,
  "cardNumber": "sample string 3",
  "firstName": "sample string 4",
  "lastName": "sample string 5",
  "memberCompany": "sample string 6",
  "driversLicense": "sample string 7",
  "address1": "sample string 8",
  "address2": "sample string 9",
  "city": "sample string 10",
  "stateProvince": "sample string 11",
  "country": "sample string 12",
  "postalCode": "sample string 13",
  "emailAddress": "sample string 14",
  "phoneNumber": "sample string 15",
  "otherPhoneNumber": "sample string 16",
  "dateOfBirth": "sample string 17",
  "dateOfBirthLocale": "sample string 18",
  "anniversaryDate": "sample string 19",
  "anniversaryDateLocale": "sample string 20",
  "companyDefinedFields": {
    "1": "sample string 2",
    "3": "sample string 4"
  },
  "company": "sample string 21",
  "companyUsername": "sample string 22",
  "companyPassword": "sample string 23",
  "requestUser": "sample string 24",
  "requestPassword": "sample string 25"
}

application/xml, text/xml

Sample:
<MemberProfileLoyaltyRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Loyalty.Core.Contracts">
  <company>sample string 21</company>
  <companyPassword>sample string 23</companyPassword>
  <companyUsername>sample string 22</companyUsername>
  <requestPassword>sample string 25</requestPassword>
  <requestUser>sample string 24</requestUser>
  <address1>sample string 8</address1>
  <address2>sample string 9</address2>
  <anniversaryDate>sample string 19</anniversaryDate>
  <anniversaryDateLocale>sample string 20</anniversaryDateLocale>
  <cardNumber>sample string 3</cardNumber>
  <city>sample string 10</city>
  <companyDefinedFields xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfintstring>
      <d2p1:Key>1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfintstring>
    <d2p1:KeyValueOfintstring>
      <d2p1:Key>3</d2p1:Key>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:KeyValueOfintstring>
  </companyDefinedFields>
  <country>sample string 12</country>
  <dateOfBirth>sample string 17</dateOfBirth>
  <dateOfBirthLocale>sample string 18</dateOfBirthLocale>
  <driversLicense>sample string 7</driversLicense>
  <emailAddress>sample string 14</emailAddress>
  <firstName>sample string 4</firstName>
  <lastName>sample string 5</lastName>
  <memberAccountId>2</memberAccountId>
  <memberCompany>sample string 6</memberCompany>
  <otherPhoneNumber>sample string 16</otherPhoneNumber>
  <phoneNumber>sample string 15</phoneNumber>
  <postalCode>sample string 13</postalCode>
  <profileExists>true</profileExists>
  <stateProvince>sample string 11</stateProvince>
</MemberProfileLoyaltyRequest>

Response Information

Resource Description

VirtualCard
NameDescriptionTypeAdditional information
cardNumber

string

None.

Response Formats

application/json, text/json

Sample:
{
  "cardNumber": "sample string 1"
}

application/xml, text/xml

Sample:
<VirtualCard xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Loyalty.Core.Contracts">
  <cardNumber>sample string 1</cardNumber>
</VirtualCard>