PUT | /profile/{BeeNumber} |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
BeeNumber | path | decimal | No | |
FirstName | body | string | No | |
LastName | body | string | No | |
Nickname | body | string | No | |
BirthDate | body | DateTime? | No | |
BillingAddress | body | NAVAddressUpdate | No | |
ShippingAddress | body | NAVAddressUpdate | No | |
GovernmentId | body | string | No | |
EmailAddress | body | string | No | |
PrimaryPhone | body | NAVPhoneUpdate | No | |
AdditionalPhone | body | NAVPhoneUpdate | No | |
OnlineStoreAddress | body | string | No | |
Language | body | string | No | |
PublicityPermission | body | string | No | |
FindMeOnline | body | bool? | No | |
OldPassword | body | string | No | |
NewPassword | body | string | No | |
PasswordHint | body | string | No | |
BankAccount | body | NAVBankAccountUpdate | No | |
TermsAgreement | body | NAVTermsUpdate | No | |
ElectronicAgreement | body | NAVTermsUpdate | No | |
AgentId | body | string | No | |
TaxExemptCode | body | string | No | |
CustomerType | body | string | No | |
CustomerTypeEffectiveDate | body | DateTime? | No | |
RepAttachmentNumber | body | decimal? | No | |
RepRelationship | body | string | No | |
PreferredDeliveryMethod | body | string | No | |
NoCode21 | body | string | No | |
NoCode30 | body | string | No | |
PrivacyPolicyAgreement | body | NAVTermsUpdate | No | |
WebsiteTermsOfUseAgreement | body | NAVTermsUpdate | No | |
AgeVerificationAgreement | body | NAVTermsUpdate | No | |
CASLStatementAgreement | body | NAVCASLTermsUpdate | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
FirstName | form | string | No | |
LastName | form | string | No | |
AddressLine1 | form | string | No | |
AddressLine2 | form | string | No | |
AddressLine3 | form | string | No | |
AddressLine4 | form | string | No | |
AddressLine5 | form | string | No | |
City | form | string | No | |
StateCode | form | string | No | |
PostalCode | form | string | No | |
CountryCode | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Number | form | string | No | |
Extension | form | string | No | |
CodeIdPhoneType | form | string | No | |
CountryCode | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
AccountName | form | string | No | |
BankName | form | string | No | |
AccountNumber | form | string | No | |
RoutingNumber | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Version | form | string | No | |
Date | form | DateTime | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Agree | form | string | No | |
Date | form | DateTime | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | 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.
PUT /profile/{BeeNumber} HTTP/1.1
Host: extensions.avon.ca
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
beeNumber: 0,
firstName: String,
lastName: String,
nickname: String,
birthDate: 0001-01-01T00:00:00,
billingAddress:
{
firstName: String,
lastName: String,
addressLine1: String,
addressLine2: String,
addressLine3: String,
addressLine4: String,
addressLine5: String,
city: String,
stateCode: String,
postalCode: String,
countryCode: String
},
shippingAddress:
{
firstName: String,
lastName: String,
addressLine1: String,
addressLine2: String,
addressLine3: String,
addressLine4: String,
addressLine5: String,
city: String,
stateCode: String,
postalCode: String,
countryCode: String
},
governmentId: String,
emailAddress: String,
primaryPhone:
{
number: String,
extension: String,
codeIdPhoneType: String,
countryCode: String
},
additionalPhone:
{
number: String,
extension: String,
codeIdPhoneType: String,
countryCode: String
},
onlineStoreAddress: String,
language: String,
publicityPermission: String,
findMeOnline: False,
oldPassword: String,
newPassword: String,
passwordHint: String,
bankAccount:
{
accountName: String,
bankName: String,
accountNumber: String,
routingNumber: String
},
termsAgreement:
{
version: String,
date: 0001-01-01T00:00:00
},
electronicAgreement:
{
version: String,
date: 0001-01-01T00:00:00
},
agentId: String,
taxExemptCode: String,
customerType: String,
customerTypeEffectiveDate: 0001-01-01T00:00:00,
repAttachmentNumber: 0,
repRelationship: String,
preferredDeliveryMethod: String,
noCode21: String,
noCode30: String,
privacyPolicyAgreement:
{
version: String,
date: 0001-01-01T00:00:00
},
websiteTermsOfUseAgreement:
{
version: String,
date: 0001-01-01T00:00:00
},
ageVerificationAgreement:
{
version: String,
date: 0001-01-01T00:00:00
},
caslStatementAgreement:
{
agree: String,
date: 0001-01-01T00:00:00
}
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { responseStatus: { errorCode: String, message: String, stackTrace: String, errors: [ { errorCode: String, fieldName: String, message: String, meta: { String: String } } ], meta: { String: String } } }