Shopper Profile Update
post
/ccadmin/v1/webhook/profileUpdate
The details of customer profile being updated on Oracle Commerce Cloud.
Request
Supported Media Types
- application/json
Root Schema : updateProfile_request
Type:
Show Source
object-
dateOfBirth:
string
The date of birth of the profile user.
-
daytimeTelephoneNumber:
string
The phone Number of the profile.
-
defaultBillToAddressIdByOrg:
string
The comma-separated values for default bill-to address IDs corresponding to organizations for the profile. These addresses belong to one of the bill-to addresses of the profile's organizations. This is applicable for B2B profiles.
-
defaultShipToAddressIdByOrg:
string
The comma-separated values for default ship-to address IDs corresponding to organizations for the profile. These addresses belong to one of the ship-to addresses of the profile's organizations. This is applicable for B2B profiles.
-
email:
string
The email address of the profile.
-
firstName:
string
The first name of the profile.
-
GDPRProfileP13nConsentGranted:
boolean
If user has given consent for his/her profile information to be used for personalization purposes.
-
gender:
string
The gender of the profile user.
-
lastName:
string
The last name of the profile.
-
newConfirmPassword:
string
Confirmation of the new password. This should match the new password value.
-
newPassword:
string
The new password.
-
oldPassword:
string
The current password.
-
receiveEmail:
string
This is email marketing flag. can be yes or no.
-
shippingAddress:
object shippingAddress
Default shipping address of the profile (Deprecated, please use 'shippingAddresses' instead).
-
shippingAddresses:
array shippingAddresses
List of shipping addresses associated with profile.
Example:
{
"firstName":"Jack",
"lastName":"Black",
"GDPRProfileP13nConsentGranted":false,
"defaultBillToAddressIdByOrg":"org1:110028,org2:110029",
"gender":"male",
"receiveEmail":"yes",
"dateOfBirth":"null",
"locale":"en",
"email":"jack@example.com",
"shippingAddresses":[
{
"lastName":"Black",
"country":"United States",
"types":[
{
"id":"ss-100002"
}
],
"address3":"",
"address2":"",
"city":"Wake Forest",
"prefix":"",
"address1":"405 Example Street",
"defaultCountryCode":"US",
"postalCode":"27587",
"jobTitle":"",
"companyName":"",
"county":"",
"isDefaultAddress":true,
"suffix":"",
"selectedCountry":"US",
"firstName":"Jack",
"phoneNumber":"555123456",
"alias":"Address",
"faxNumber":"",
"middleName":"",
"state":"North Carolina",
"selectedState":"NC",
"state_ISOCode":"US-NC"
},
{
"lastName":"Hill",
"country":"United States",
"types":[
{
"id":"ss-100002"
}
],
"address3":"",
"address2":"",
"city":"Wake Forest",
"prefix":"",
"address1":"415 Example Road",
"defaultCountryCode":"US",
"postalCode":"27587",
"jobTitle":"",
"companyName":"",
"county":"",
"isDefaultAddress":false,
"suffix":"",
"selectedCountry":"US",
"firstName":"Jill",
"phoneNumber":"55512345",
"alias":"Address##0",
"faxNumber":"",
"middleName":"",
"state":"North Carolina",
"selectedState":"NC",
"state_ISOCode":"US-NC"
}
],
"defaultShipToAddressIdByOrg":"org1:130012,org2:130013"
}Nested Schema : shippingAddress
Type:
objectDefault shipping address of the profile (Deprecated, please use 'shippingAddresses' instead).
Show Source
-
address1(required):
string
The address line 1 of the shipping address.
-
address2:
string
The address line 2 of the shipping address.
-
address3:
string
The address line 3 of the shipping address.
-
alias:
string
The alias of the shipping address.
-
companyName:
string
The company name of the shipping address.
-
country(required):
string
The country code of the shipping address.
-
county:
string
The county of the shipping address.
-
firstName(required):
string
The first name of the shipping address.
-
lastName(required):
string
The last name of the shipping address.
-
phoneNumber:
string
The phone Number of the shipping address.
-
postalCode(required):
string
The postal Code of the shipping address.
-
prefix:
string
The prefix of the shipping address.
-
repositoryId:
string
The repository ID of the shipping address.
-
selectedCountry:
string
The country code of the shipping address. If selectedCountry is sent in the request then it takes precedence over country.
-
selectedState:
string
The state ISO alpha-2 code of the shipping address. If selectedState is sent in the request then it takes precedence over state.
-
state(required):
string
The state code of the shipping address.
-
state_ISOCode:
string
The state ISO alpha-4 code of the shipping address.
-
types:
array types
The types tagged to the address
Nested Schema : shippingAddresses
Type:
arrayList of shipping addresses associated with profile.
Show Source
Nested Schema : items
Type:
Show Source
object-
address1(required):
string
The address line 1 of the shipping address.
-
address2:
string
The address line 2 of the shipping address.
-
address3:
string
The address line 3 of the shipping address.
-
alias:
string
The alias of the shipping address.
-
city(required):
string
The city of the shipping address.
-
companyName:
string
The company name of the shipping address.
-
country(required):
string
The country of the shipping address.
-
county:
string
The county code of the shipping address.
-
firstName(required):
string
The first name of the shipping address.
-
isDefaultAddress:
boolean
Whether to store this address in the default shipping address slot.
-
lastName(required):
string
The last name of the shipping address.
-
phoneNumber:
string
The phone Number of the shipping address.
-
postalCode(required):
string
The postal Code of the shipping address.
-
prefix:
string
The prefix of the shipping address.
-
repositoryId:
string
The repository ID of the shipping address.
-
selectedCountry:
string
The country code of the shipping address. If selectedCountry is sent in the request then it takes precedence over country.
-
selectedState:
string
The state ISO alpha-2 code of the shipping address. If selectedState is sent in the request then it takes precedence over state.
-
state(required):
string
The state code of the shipping address.
-
state_ISOCode:
string
The state ISO alpha-4 code of the shipping address.
-
types:
array types
The types tagged to the address
Response
Supported Media Types
- application/json
200 Response
No response is returned as this is an event webhook