Root Schema : profile_request
Type: object
This Event is triggered when a profile is created/updated
Show Source
{
"description":"This Event is triggered when a profile is created/updated",
"properties":{
"profileId":{
"description":"The id of profile",
"type":"string"
},
"profile":{
"type":"object",
"properties":{
"derivedPriceListGroup":{
"type":"object",
"properties":{
"deleted":{
"type":"boolean"
},
"endDate":{
"type":"string"
},
"displayName":{
"type":"string"
},
"listPriceList":{
"type":"object",
"properties":{
"item-id":{
"type":"string"
},
"itemAcl":{
"type":"string"
},
"lastModifiedDate":{
"type":"string"
},
"endDate":{
"type":"string"
},
"displayName":{
"type":"string"
},
"description":{
"type":"string"
},
"id":{
"type":"string"
},
"creationDate":{
"type":"string"
},
"locale":{
"type":"string"
},
"version":{
"type":"integer"
},
"startDate":{
"type":"string"
},
"basePriceList":{
"type":"string"
}
}
},
"active":{
"type":"boolean"
},
"salePriceList":{
"type":"object",
"properties":{
"item-id":{
"type":"string"
},
"itemAcl":{
"type":"string"
},
"lastModifiedDate":{
"type":"string"
},
"endDate":{
"type":"string"
},
"displayName":{
"type":"string"
},
"description":{
"type":"string"
},
"id":{
"type":"string"
},
"creationDate":{
"type":"string"
},
"locale":{
"type":"string"
},
"version":{
"type":"integer"
},
"startDate":{
"type":"string"
},
"basePriceList":{
"type":"string"
}
}
},
"currency":{
"type":"object",
"properties":{
"symbol":{
"type":"string"
},
"displayName":{
"type":"string"
},
"fractionalDigits":{
"type":"integer"
},
"currencyCode":{
"type":"string"
},
"numericCode":{
"type":"string"
}
}
},
"id":{
"type":"string"
},
"locale":{
"type":"string"
},
"shippingSurchargePriceList":{
"type":"object",
"properties":{
"item-id":{
"type":"string"
},
"itemAcl":{
"type":"string"
},
"lastModifiedDate":{
"type":"string"
},
"endDate":{
"type":"string"
},
"displayName":{
"type":"string"
},
"description":{
"type":"string"
},
"id":{
"type":"string"
},
"creationDate":{
"type":"string"
},
"locale":{
"type":"string"
},
"version":{
"type":"integer"
},
"startDate":{
"type":"string"
},
"basePriceList":{
"type":"string"
}
}
},
"startDate":{
"type":"string"
}
}
},
"lastName":{
"description":"The last name of the profile",
"type":"string"
},
"GDPRProfileP13nConsentDate":{
"description":"The date on which GDPR personalization consent is granted for the profile.",
"type":"string"
},
"GDPRProfileP13nConsentGranted":{
"description":"This is GDPR profile personalization consent flag. can be true or false.",
"type":"boolean"
},
"relativeTo":{
"description":"If not provided organization id will be cosidered as its parent organization ID.",
"type":"array",
"items":{
"type":"object",
"properties":{
"id":{
"description":"Organization ID of the role to be assigned.",
"type":"string"
}
}
}
},
"roles":{
"description":"List of user roles.",
"type":"array",
"items":{
"type":"object",
"properties":{
"associations":{
"type":"array",
"items":{
"type":"object",
"properties":{
"relatedItemId":{
"description":"It is the organization id to which role is associated. If the role is to be assigned in organization scope the relatedItemId is required and if the role is global scope then it should be null",
"type":"string"
},
"type":{
"description":"If the role is to be assigned in organization scope the type is (organization) and if the role is global scope the type is (global).",
"type":"string"
}
}
}
},
"function":{
"description":"Function of the role. Only returned for type organizationalRole.",
"type":"string"
},
"relativeTo":{
"description":"Organization in which the role applies. Only returned for organizationalRole.",
"type":"object",
"properties":{
"externalOrganizationId":{
"description":"ID of the external organization. Default is null.",
"type":"string"
},
"id":{
"description":"ID of the organization in which this role applies.",
"type":"string"
}
}
},
"name":{
"description":"Name of the role.",
"type":"string"
},
"repositoryId":{
"description":"Repository id of the role.",
"type":"string"
},
"description":{
"description":"Description of the role.",
"type":"string"
},
"accessRights":{
"description":"Access rights associated with this role.",
"type":"array",
"items":{
"type":"object",
"properties":{
"displayName":{
"description":"Display name of the access right",
"type":"string"
},
"name":{
"description":"Name of the access right",
"type":"string"
},
"repositoryId":{
"description":"Repository ID of the access right",
"type":"string"
},
"description":{
"description":"Description of the access right",
"type":"string"
},
"id":{
"description":"ID of the access right.",
"type":"string"
},
"type":{
"description":"Type of the access right. Can be generic or privilege.",
"type":"string"
}
}
}
},
"id":{
"description":"ID of the role.",
"type":"string"
},
"type":{
"description":"Type of the role. Can be role or organizationalRole",
"type":"string"
},
"category":{
"description":"Category of the role",
"type":"object",
"properties":{
"displayName":{
"description":"Display name of the role category.",
"type":"string"
},
"repositoryId":{
"description":"Repository ID of the role category.(customRoleCategory or storefrontRoleCategory)",
"type":"string"
},
"id":{
"description":"ID of the role category.(customRoleCategory or storefrontRoleCategory)",
"type":"string"
}
}
}
}
}
},
"locale":{
"description":"Locale",
"type":"string"
},
"login":{
"description":"Login",
"type":"string"
},
"parentOrganization":{
"description":"The parent Organization",
"type":"object",
"properties":{
"name":{
"description":"The name of the parent organization",
"type":"string"
},
"id":{
"description":"The parent Organization Id",
"type":"string"
},
"externalOrganizationId":{
"description":"The parent Organization external Id",
"type":"string"
}
}
},
"shippingSurchargePriceList":{
"type":"object",
"properties":{
"item-id":{
"type":"string"
},
"itemAcl":{
"type":"string"
},
"lastModifiedDate":{
"type":"string"
},
"endDate":{
"type":"string"
},
"displayName":{
"type":"string"
},
"description":{
"type":"string"
},
"id":{
"type":"string"
},
"creationDate":{
"type":"string"
},
"locale":{
"type":"string"
},
"version":{
"type":"integer"
},
"startDate":{
"type":"string"
},
"basePriceList":{
"type":"string"
}
}
},
"receiveEmailDate":{
"description":"The date on which email marketing consent is granted for the profile.",
"type":"string"
},
"sitePropertiesList":{
"description":"The list of site related properties for the profile",
"type":"array",
"items":{
"type":"object",
"properties":{
"site":{
"description":"The site data",
"type":"object",
"properties":{
"id":{
"description":"The id of the site",
"type":"string"
}
}
},
"properties":{
"description":"The site related properties for the profile",
"type":"object",
"properties":{
"GDPRProfileP13nConsentDate":{
"description":"The date on which GDPR personalization consent is granted for the profile.",
"type":"string"
},
"GDPRProfileP13nConsentGranted":{
"description":"This is GDPR profile personalization consent flag. can be true or false.",
"type":"boolean"
},
"receiveEmail":{
"description":"Indicates whether the user should receive marketing emails on the current site. Can be yes or no.",
"type":"string"
},
"receiveEmailDate":{
"description":"The date on which email marketing consent is granted for the profile.",
"type":"string"
}
}
}
}
}
},
"profileType":{
"description":"The type of profile",
"type":"string"
},
"loyaltyPrograms":{
"description":"Loyalty Programs Information",
"type":"array",
"items":{
"type":"object",
"properties":{
"programName":{
"description":"programName of Loyalty Program",
"type":"string"
},
"repositoryId":{
"description":"repository Id",
"type":"string"
},
"membershipId":{
"description":"membershipId of the profile.",
"type":"string"
},
"programId":{
"description":"programId of Loyalty Program",
"type":"string"
},
"status":{
"description":"status of Enrollment.",
"type":"string"
}
}
}
},
"registrationDate":{
"format":"date-time",
"description":"Registration date",
"type":"string"
},
"sessionOrganization":{
"description":"The session Organization",
"type":"object",
"properties":{
"id":{
"description":"The session Organization Id",
"type":"string"
}
}
},
"id":{
"description":"Id",
"type":"string"
},
"partyId":{
"description":"Party Id of the contact",
"type":"number"
},
"email":{
"description":"The email address of the profile",
"type":"string"
},
"derivedSalePriceList":{
"type":"object",
"properties":{
"item-id":{
"type":"string"
},
"itemAcl":{
"type":"string"
},
"lastModifiedDate":{
"type":"string"
},
"endDate":{
"type":"string"
},
"displayName":{
"type":"string"
},
"description":{
"type":"string"
},
"id":{
"type":"string"
},
"creationDate":{
"type":"string"
},
"locale":{
"type":"string"
},
"version":{
"type":"integer"
},
"startDate":{
"type":"string"
},
"basePriceList":{
"type":"string"
}
}
},
"homeAddress":{
"description":"Home address",
"type":"object",
"properties":{
"lastName":{
"description":"Last name",
"type":"string"
},
"country":{
"description":"The country of the home address",
"type":"string"
},
"address3":{
"description":"The address3 of the home address",
"type":"string"
},
"address2":{
"description":"The address2 of the home address",
"type":"string"
},
"city":{
"description":"The city of the home address",
"type":"string"
},
"address1":{
"description":"The address1 of the home address",
"type":"string"
},
"prefix":{
"description":"Prefix",
"type":"string"
},
"companyName":{
"description":"Company Name",
"type":"string"
},
"postalCode":{
"description":"The postal Code of the home address",
"type":"string"
},
"county":{
"description":"The county of the home address",
"type":"string"
},
"suffix":{
"description":"Suffix",
"type":"string"
},
"externalAddressId":{
"description":"External ID of the address",
"type":"string"
},
"firstName":{
"description":"The first name of the home address",
"type":"string"
},
"phoneNumber":{
"description":"The phone Number of the home address",
"type":"string"
},
"item-id":{
"description":"Home address Id",
"type":"string"
},
"repositoryId":{
"description":"repositoryId",
"type":"string"
},
"faxNumber":{
"description":"Fax Number",
"type":"string"
},
"middleName":{
"description":"Middle name",
"type":"string"
},
"state":{
"description":"The state of the home address",
"type":"string"
}
}
},
"daytimeTelephoneNumber":{
"description":"The day time phone number of the profile",
"type":"string"
},
"customerContactId":{
"description":"The external customer contact id.",
"type":"string"
},
"taxExempt":{
"description":"if tax is exempted",
"type":"boolean"
},
"comments":{
"description":"the notes on the customer.",
"type":"array",
"items":{
"description":"The info of the customer",
"type":"object",
"properties":{
"owner":{
"description":"The owner of the note.",
"type":"string"
},
"agent":{
"description":"The type of update.",
"type":"string"
},
"item-id":{
"description":"The item-id of the comment",
"type":"string"
},
"comment":{
"description":"The description of comment.",
"type":"string"
},
"id":{
"description":"The id of the comment.",
"type":"string"
},
"creationDate":{
"description":"The creation date of the note.",
"type":"string"
},
"version":{
"description":"The version of the note.",
"type":"integer"
}
}
}
},
"shippingAddressesIsTruncated":{
"description":"This property will be added to the webhook payload only if the corresponding shippingAddresses property is truncated. The value for this field will be true always if present",
"type":"boolean"
},
"priceListGroup":{
"type":"object",
"properties":{
"deleted":{
"type":"boolean"
},
"endDate":{
"type":"string"
},
"displayName":{
"type":"string"
},
"listPriceList":{
"type":"object",
"properties":{
"item-id":{
"type":"string"
},
"itemAcl":{
"type":"string"
},
"lastModifiedDate":{
"type":"string"
},
"endDate":{
"type":"string"
},
"displayName":{
"type":"string"
},
"description":{
"type":"string"
},
"id":{
"type":"string"
},
"creationDate":{
"type":"string"
},
"locale":{
"type":"string"
},
"version":{
"type":"integer"
},
"startDate":{
"type":"string"
},
"basePriceList":{
"type":"string"
}
}
},
"active":{
"type":"boolean"
},
"salePriceList":{
"type":"object",
"properties":{
"item-id":{
"type":"string"
},
"itemAcl":{
"type":"string"
},
"lastModifiedDate":{
"type":"string"
},
"endDate":{
"type":"string"
},
"displayName":{
"type":"string"
},
"description":{
"type":"string"
},
"id":{
"type":"string"
},
"creationDate":{
"type":"string"
},
"locale":{
"type":"string"
},
"version":{
"type":"integer"
},
"startDate":{
"type":"string"
},
"basePriceList":{
"type":"string"
}
}
},
"currency":{
"type":"object",
"properties":{
"symbol":{
"type":"string"
},
"displayName":{
"type":"string"
},
"fractionalDigits":{
"type":"integer"
},
"currencyCode":{
"type":"string"
},
"numericCode":{
"type":"string"
}
}
},
"id":{
"type":"string"
},
"locale":{
"type":"string"
},
"shippingSurchargePriceList":{
"type":"object",
"properties":{
"item-id":{
"type":"string"
},
"itemAcl":{
"type":"string"
},
"lastModifiedDate":{
"type":"string"
},
"endDate":{
"type":"string"
},
"displayName":{
"type":"string"
},
"description":{
"type":"string"
},
"id":{
"type":"string"
},
"creationDate":{
"type":"string"
},
"locale":{
"type":"string"
},
"version":{
"type":"integer"
},
"startDate":{
"type":"string"
},
"basePriceList":{
"type":"string"
}
}
},
"startDate":{
"type":"string"
}
}
},
"receiveEmail":{
"description":"The string representation of whether the user wants to recieve email or not",
"type":"string"
},
"active":{
"description":"Is the profile active",
"type":"boolean"
},
"dateOfBirth":{
"format":"date-time",
"description":"Date of Birth",
"type":"string"
},
"version":{
"description":"Version",
"type":"integer"
},
"abandonedOrderCount":{
"description":"Number of abandoned orders",
"type":"number"
},
"firstName":{
"description":"The first name of the profile",
"type":"string"
},
"secondaryAddressesIsTruncated":{
"description":"This property will be added to the webhook payload only if the corresponding secondaryAddresses property is truncated. The value for this field will be true always if present",
"type":"boolean"
},
"siteId":{
"description":"Site Id associated with this profile",
"type":"string"
},
"shippingAddress":{
"description":"Shipping address",
"type":"object",
"properties":{
"lastName":{
"description":"Last name",
"type":"string"
},
"country":{
"description":"The country of the shipping address",
"type":"string"
},
"address3":{
"description":"The address3 of the shipping address",
"type":"string"
},
"address2":{
"description":"The address2 of the shipping address",
"type":"string"
},
"city":{
"description":"The city of the shipping address",
"type":"string"
},
"address1":{
"description":"The address1 of the shipping address",
"type":"string"
},
"prefix":{
"description":"Prefix",
"type":"string"
},
"companyName":{
"description":"Company Name",
"type":"string"
},
"postalCode":{
"description":"The postal Code of the shipping address",
"type":"string"
},
"county":{
"description":"The county of the shipping address",
"type":"string"
},
"suffix":{
"description":"Suffix",
"type":"string"
},
"externalAddressId":{
"description":"External ID of the address",
"type":"string"
},
"firstName":{
"description":"First name",
"type":"string"
},
"phoneNumber":{
"description":"The phone Number of the shipping address",
"type":"string"
},
"item-id":{
"description":"Shipping address Id",
"type":"string"
},
"repositoryId":{
"description":"repositoryId",
"type":"string"
},
"faxNumber":{
"description":"Fax Number",
"type":"string"
},
"middleName":{
"description":"Middle name",
"type":"string"
},
"state":{
"description":"The state of the shipping address",
"type":"string"
}
}
},
"currentOrganization":{
"description":"The current Organization",
"type":"object",
"properties":{
"id":{
"description":"The current Organization Id",
"type":"string"
}
}
},
"lastActivity":{
"format":"date-time",
"description":"Last activity",
"type":"string"
},
"middleName":{
"description":"The middle name of the profile",
"type":"string"
},
"billingAddress":{
"description":"Default billing address of the profile",
"type":"object",
"properties":{
"lastName":{
"description":"the last name of the billing address",
"type":"string"
},
"firstName":{
"description":"the first name of the billing address",
"type":"string"
},
"externalAddressId":{
"description":"External ID of the address",
"type":"string"
},
"country":{
"description":"the country of the billing address",
"type":"string"
},
"phoneNumber":{
"description":"the phone Number of the billing address",
"type":"string"
},
"address2":{
"description":"the address2 of the billing address",
"type":"string"
},
"city":{
"description":"the city of the billing address",
"type":"string"
},
"address1":{
"description":"the address1 of the billing address",
"type":"string"
},
"postalCode":{
"description":"the postal Code of the billing address",
"type":"string"
},
"county":{
"description":"the county of the billing address",
"type":"string"
},
"repositoryId":{
"description":"the id of the billing address",
"type":"string"
},
"state":{
"description":"the state of the billing address",
"type":"string"
}
}
},
"derivedShippingSurchargePriceList":{
"type":"object",
"properties":{
"item-id":{
"type":"string"
},
"itemAcl":{
"type":"string"
},
"lastModifiedDate":{
"type":"string"
},
"endDate":{
"type":"string"
},
"displayName":{
"type":"string"
},
"description":{
"type":"string"
},
"id":{
"type":"string"
},
"creationDate":{
"type":"string"
},
"locale":{
"type":"string"
},
"version":{
"type":"integer"
},
"startDate":{
"type":"string"
},
"basePriceList":{
"type":"string"
}
}
},
"partyNumber":{
"description":"Party Number of the contact",
"type":"string"
},
"secondaryOrganizations":{
"description":"List of secondary organizations that need to associate with the user.",
"type":"array",
"items":{
"type":"object",
"properties":{
"id":{
"description":"ID of the organization to be assigned.",
"type":"string"
}
}
}
},
"shippingAddresses":{
"description":"List of shipping addresses associated with profile. This property will be removed from the webhook request payload if the size exceeds the sub entity truncation size value configured for this webhook",
"type":"array",
"items":{
"type":"object",
"properties":{
"lastName":{
"description":"the last name of the shipping address",
"type":"string"
},
"country":{
"description":"the country of the shipping address",
"type":"string"
},
"address3":{
"description":"the address3 of the shipping address",
"type":"string"
},
"address2":{
"description":"the address2 of the shipping address",
"type":"string"
},
"city":{
"description":"the city of the shipping address",
"type":"string"
},
"address1":{
"description":"the address1 of the shipping address",
"type":"string"
},
"prefix":{
"description":"the prefix of the shipping address",
"type":"string"
},
"postalCode":{
"description":"the postal Code of the shipping address",
"type":"string"
},
"companyName":{
"description":"the company name of the shipping address",
"type":"string"
},
"county":{
"description":"the county of the shipping address",
"type":"string"
},
"suffix":{
"description":"the suffix of the shipping address",
"type":"string"
},
"firstName":{
"description":"the first name of the shipping address",
"type":"string"
},
"externalAddressId":{
"description":"External ID of the address",
"type":"string"
},
"phoneNumber":{
"description":"the phone Number of the shipping address",
"type":"string"
},
"item-id":{
"description":"item-id",
"type":"string"
},
"repositoryId":{
"description":"the id of the shipping address",
"type":"string"
},
"faxNumber":{
"description":"the faxNumber of the shipping address",
"type":"string"
},
"middleName":{
"description":"the middle name of the shipping address",
"type":"string"
},
"state":{
"description":"the state of the shipping address",
"type":"string"
}
}
}
}
}
},
"siteId":{
"description":"Site Id associated with this profile",
"type":"string"
},
"type":{
"description":"The type of event",
"type":"string"
}
},
"example":{
"profileId":"160004",
"profile":{
"lastPurchaseDate":null,
"dynamicPropertyMapLong":{
},
"GDPRProfileP13nConsentDate":"2018-01-01T00:00:00.000Z",
"GDPRProfileP13nConsentGranted":true,
"secondaryAddresses":{
},
"shippingSurchargePriceList":null,
"firstPurchaseDate":null,
"profileType":null,
"loyaltyPrograms":[
],
"lastPurchaseAmount":0,
"registrationDate":"2017-09-14T07:30:12.428Z",
"sessionOrganization":null,
"id":"160004",
"lifetimeAOV":0,
"daytimeTelephoneNumber":null,
"derivedSalePriceList":null,
"homeAddress":{
"country":null,
"lastName":null,
"address3":null,
"city":null,
"address2":null,
"prefix":null,
"address1":null,
"companyName":null,
"postalCode":null,
"county":null,
"suffix":null,
"externalAddressId":"abcTest",
"firstName":null,
"phoneNumber":null,
"item-id":null,
"repositoryId":"180004",
"faxNumber":null,
"middleName":null,
"state":null
},
"customerContactId":"CRMID_12345",
"taxExempt":false,
"dynamicPropertyMapBigString":{
},
"active":true,
"previousVisitDate":null,
"lastVisitDate":null,
"taxExemptionCode":null,
"version":7,
"abandonedOrderCount":0,
"firstName":"SepNew",
"defaultCreditCard":null,
"creditCards":{
},
"derivedTaxExemptionCode":null,
"currentOrganization":null,
"secondaryOrganizations":[
],
"shippingAddresses":[
],
"derivedPriceListGroup":null,
"lastName":"SepNew",
"roles":[
{
"associations":[
{
"relatedItemId":null,
"type":"global"
}
],
"name":"Role 1",
"repositoryId":"role1",
"description":null,
"accessRights":[
{
"displayName":"Custom Access Right",
"name":"Custom Access Right",
"repositoryId":"customAccessRight",
"description":"Custom Access Right",
"id":"customAccessRight",
"type":"generic"
}
],
"id":"role1",
"type":"role",
"category":{
"displayName":"Custom Roles",
"repositoryId":"customRoleCategory",
"id":"customRoleCategory"
}
},
{
"associations":[
{
"relatedItemId":"or-100001",
"type":"organization"
}
],
"relativeTo":{
"externalOrganizationId":null,
"id":"or-100001"
},
"function":"buyer",
"name":"Buyer",
"repositoryId":"100002",
"description":null,
"accessRights":[
],
"id":"100002",
"type":"organizationalRole",
"category":{
"displayName":"Storefront Roles",
"repositoryId":"storefrontRoleCategory",
"id":"storefrontRoleCategory"
}
}
],
"numberOfOrders":0,
"locale":"en",
"login":"example@example.com",
"receiveEmailDate":"2018-01-01T00:00:00.000Z",
"sitePropertiesList":[
{
"site":{
"id":"100001"
},
"properties":{
"GDPRProfileP13nConsentDate":"2018-01-01T00:00:00.000Z",
"GDPRProfileP13nConsentGranted":true,
"receiveEmail":"no",
"receiveEmailDate":"2018-01-01T00:00:00.000Z"
}
},
{
"site":{
"id":"100002"
},
"properties":{
"GDPRProfileP13nConsentDate":"2018-01-01T00:00:00.000Z",
"GDPRProfileP13nConsentGranted":true,
"receiveEmail":"no",
"receiveEmailDate":"2018-01-01T00:00:00.000Z"
}
},
{
"site":{
"id":"siteUS"
},
"properties":{
"GDPRProfileP13nConsentDate":"2018-01-01T00:00:00.000Z",
"GDPRProfileP13nConsentGranted":true,
"receiveEmail":"no",
"receiveEmailDate":"2018-01-01T00:00:00.000Z"
}
}
],
"lifetimeSpend":0,
"dynamicPropertyMapString":{
},
"email":"example@example.com",
"siteProperties":{
"100001":{
"receiveEmail":"no"
},
"100002":{
"receiveEmail":"no"
},
"siteUS":{
"receiveEmail":"no"
}
},
"comments":[
],
"priceListGroup":null,
"receiveEmail":"no",
"dateOfBirth":null,
"shippingAddress":null,
"lastActivity":"2017-09-14T07:30:12.428Z",
"middleName":null,
"billingAddress":null,
"derivedShippingSurchargePriceList":null,
"dynamicPropertyMapDouble":{
},
"abandonedOrders":[
]
},
"siteId":"100002",
"type":"atg.dps.ProfileUpdate"
}
}
Example:
{
"profileId":"160004",
"profile":{
"lastPurchaseDate":null,
"dynamicPropertyMapLong":{
},
"GDPRProfileP13nConsentDate":"2018-01-01T00:00:00.000Z",
"GDPRProfileP13nConsentGranted":true,
"secondaryAddresses":{
},
"shippingSurchargePriceList":null,
"firstPurchaseDate":null,
"profileType":null,
"loyaltyPrograms":[
],
"lastPurchaseAmount":0,
"registrationDate":"2017-09-14T07:30:12.428Z",
"sessionOrganization":null,
"id":"160004",
"lifetimeAOV":0,
"daytimeTelephoneNumber":null,
"derivedSalePriceList":null,
"homeAddress":{
"country":null,
"lastName":null,
"address3":null,
"city":null,
"address2":null,
"prefix":null,
"address1":null,
"companyName":null,
"postalCode":null,
"county":null,
"suffix":null,
"externalAddressId":"abcTest",
"firstName":null,
"phoneNumber":null,
"item-id":null,
"repositoryId":"180004",
"faxNumber":null,
"middleName":null,
"state":null
},
"customerContactId":"CRMID_12345",
"taxExempt":false,
"dynamicPropertyMapBigString":{
},
"active":true,
"previousVisitDate":null,
"lastVisitDate":null,
"taxExemptionCode":null,
"version":7,
"abandonedOrderCount":0,
"firstName":"SepNew",
"defaultCreditCard":null,
"creditCards":{
},
"derivedTaxExemptionCode":null,
"currentOrganization":null,
"secondaryOrganizations":[
],
"shippingAddresses":[
],
"derivedPriceListGroup":null,
"lastName":"SepNew",
"roles":[
{
"associations":[
{
"relatedItemId":null,
"type":"global"
}
],
"name":"Role 1",
"repositoryId":"role1",
"description":null,
"accessRights":[
{
"displayName":"Custom Access Right",
"name":"Custom Access Right",
"repositoryId":"customAccessRight",
"description":"Custom Access Right",
"id":"customAccessRight",
"type":"generic"
}
],
"id":"role1",
"type":"role",
"category":{
"displayName":"Custom Roles",
"repositoryId":"customRoleCategory",
"id":"customRoleCategory"
}
},
{
"associations":[
{
"relatedItemId":"or-100001",
"type":"organization"
}
],
"relativeTo":{
"externalOrganizationId":null,
"id":"or-100001"
},
"function":"buyer",
"name":"Buyer",
"repositoryId":"100002",
"description":null,
"accessRights":[
],
"id":"100002",
"type":"organizationalRole",
"category":{
"displayName":"Storefront Roles",
"repositoryId":"storefrontRoleCategory",
"id":"storefrontRoleCategory"
}
}
],
"numberOfOrders":0,
"locale":"en",
"login":"example@example.com",
"receiveEmailDate":"2018-01-01T00:00:00.000Z",
"sitePropertiesList":[
{
"site":{
"id":"100001"
},
"properties":{
"GDPRProfileP13nConsentDate":"2018-01-01T00:00:00.000Z",
"GDPRProfileP13nConsentGranted":true,
"receiveEmail":"no",
"receiveEmailDate":"2018-01-01T00:00:00.000Z"
}
},
{
"site":{
"id":"100002"
},
"properties":{
"GDPRProfileP13nConsentDate":"2018-01-01T00:00:00.000Z",
"GDPRProfileP13nConsentGranted":true,
"receiveEmail":"no",
"receiveEmailDate":"2018-01-01T00:00:00.000Z"
}
},
{
"site":{
"id":"siteUS"
},
"properties":{
"GDPRProfileP13nConsentDate":"2018-01-01T00:00:00.000Z",
"GDPRProfileP13nConsentGranted":true,
"receiveEmail":"no",
"receiveEmailDate":"2018-01-01T00:00:00.000Z"
}
}
],
"lifetimeSpend":0,
"dynamicPropertyMapString":{
},
"email":"example@example.com",
"siteProperties":{
"100001":{
"receiveEmail":"no"
},
"100002":{
"receiveEmail":"no"
},
"siteUS":{
"receiveEmail":"no"
}
},
"comments":[
],
"priceListGroup":null,
"receiveEmail":"no",
"dateOfBirth":null,
"shippingAddress":null,
"lastActivity":"2017-09-14T07:30:12.428Z",
"middleName":null,
"billingAddress":null,
"derivedShippingSurchargePriceList":null,
"dynamicPropertyMapDouble":{
},
"abandonedOrders":[
]
},
"siteId":"100002",
"type":"atg.dps.ProfileUpdate"
}
Nested Schema : profile
Type: object
Show Source
{
"type":"object",
"properties":{
"derivedPriceListGroup":{
"type":"object",
"properties":{
"deleted":{
"type":"boolean"
},
"endDate":{
"type":"string"
},
"displayName":{
"type":"string"
},
"listPriceList":{
"type":"object",
"properties":{
"item-id":{
"type":"string"
},
"itemAcl":{
"type":"string"
},
"lastModifiedDate":{
"type":"string"
},
"endDate":{
"type":"string"
},
"displayName":{
"type":"string"
},
"description":{
"type":"string"
},
"id":{
"type":"string"
},
"creationDate":{
"type":"string"
},
"locale":{
"type":"string"
},
"version":{
"type":"integer"
},
"startDate":{
"type":"string"
},
"basePriceList":{
"type":"string"
}
}
},
"active":{
"type":"boolean"
},
"salePriceList":{
"type":"object",
"properties":{
"item-id":{
"type":"string"
},
"itemAcl":{
"type":"string"
},
"lastModifiedDate":{
"type":"string"
},
"endDate":{
"type":"string"
},
"displayName":{
"type":"string"
},
"description":{
"type":"string"
},
"id":{
"type":"string"
},
"creationDate":{
"type":"string"
},
"locale":{
"type":"string"
},
"version":{
"type":"integer"
},
"startDate":{
"type":"string"
},
"basePriceList":{
"type":"string"
}
}
},
"currency":{
"type":"object",
"properties":{
"symbol":{
"type":"string"
},
"displayName":{
"type":"string"
},
"fractionalDigits":{
"type":"integer"
},
"currencyCode":{
"type":"string"
},
"numericCode":{
"type":"string"
}
}
},
"id":{
"type":"string"
},
"locale":{
"type":"string"
},
"shippingSurchargePriceList":{
"type":"object",
"properties":{
"item-id":{
"type":"string"
},
"itemAcl":{
"type":"string"
},
"lastModifiedDate":{
"type":"string"
},
"endDate":{
"type":"string"
},
"displayName":{
"type":"string"
},
"description":{
"type":"string"
},
"id":{
"type":"string"
},
"creationDate":{
"type":"string"
},
"locale":{
"type":"string"
},
"version":{
"type":"integer"
},
"startDate":{
"type":"string"
},
"basePriceList":{
"type":"string"
}
}
},
"startDate":{
"type":"string"
}
}
},
"lastName":{
"description":"The last name of the profile",
"type":"string"
},
"GDPRProfileP13nConsentDate":{
"description":"The date on which GDPR personalization consent is granted for the profile.",
"type":"string"
},
"GDPRProfileP13nConsentGranted":{
"description":"This is GDPR profile personalization consent flag. can be true or false.",
"type":"boolean"
},
"relativeTo":{
"description":"If not provided organization id will be cosidered as its parent organization ID.",
"type":"array",
"items":{
"type":"object",
"properties":{
"id":{
"description":"Organization ID of the role to be assigned.",
"type":"string"
}
}
}
},
"roles":{
"description":"List of user roles.",
"type":"array",
"items":{
"type":"object",
"properties":{
"associations":{
"type":"array",
"items":{
"type":"object",
"properties":{
"relatedItemId":{
"description":"It is the organization id to which role is associated. If the role is to be assigned in organization scope the relatedItemId is required and if the role is global scope then it should be null",
"type":"string"
},
"type":{
"description":"If the role is to be assigned in organization scope the type is (organization) and if the role is global scope the type is (global).",
"type":"string"
}
}
}
},
"function":{
"description":"Function of the role. Only returned for type organizationalRole.",
"type":"string"
},
"relativeTo":{
"description":"Organization in which the role applies. Only returned for organizationalRole.",
"type":"object",
"properties":{
"externalOrganizationId":{
"description":"ID of the external organization. Default is null.",
"type":"string"
},
"id":{
"description":"ID of the organization in which this role applies.",
"type":"string"
}
}
},
"name":{
"description":"Name of the role.",
"type":"string"
},
"repositoryId":{
"description":"Repository id of the role.",
"type":"string"
},
"description":{
"description":"Description of the role.",
"type":"string"
},
"accessRights":{
"description":"Access rights associated with this role.",
"type":"array",
"items":{
"type":"object",
"properties":{
"displayName":{
"description":"Display name of the access right",
"type":"string"
},
"name":{
"description":"Name of the access right",
"type":"string"
},
"repositoryId":{
"description":"Repository ID of the access right",
"type":"string"
},
"description":{
"description":"Description of the access right",
"type":"string"
},
"id":{
"description":"ID of the access right.",
"type":"string"
},
"type":{
"description":"Type of the access right. Can be generic or privilege.",
"type":"string"
}
}
}
},
"id":{
"description":"ID of the role.",
"type":"string"
},
"type":{
"description":"Type of the role. Can be role or organizationalRole",
"type":"string"
},
"category":{
"description":"Category of the role",
"type":"object",
"properties":{
"displayName":{
"description":"Display name of the role category.",
"type":"string"
},
"repositoryId":{
"description":"Repository ID of the role category.(customRoleCategory or storefrontRoleCategory)",
"type":"string"
},
"id":{
"description":"ID of the role category.(customRoleCategory or storefrontRoleCategory)",
"type":"string"
}
}
}
}
}
},
"locale":{
"description":"Locale",
"type":"string"
},
"login":{
"description":"Login",
"type":"string"
},
"parentOrganization":{
"description":"The parent Organization",
"type":"object",
"properties":{
"name":{
"description":"The name of the parent organization",
"type":"string"
},
"id":{
"description":"The parent Organization Id",
"type":"string"
},
"externalOrganizationId":{
"description":"The parent Organization external Id",
"type":"string"
}
}
},
"shippingSurchargePriceList":{
"type":"object",
"properties":{
"item-id":{
"type":"string"
},
"itemAcl":{
"type":"string"
},
"lastModifiedDate":{
"type":"string"
},
"endDate":{
"type":"string"
},
"displayName":{
"type":"string"
},
"description":{
"type":"string"
},
"id":{
"type":"string"
},
"creationDate":{
"type":"string"
},
"locale":{
"type":"string"
},
"version":{
"type":"integer"
},
"startDate":{
"type":"string"
},
"basePriceList":{
"type":"string"
}
}
},
"receiveEmailDate":{
"description":"The date on which email marketing consent is granted for the profile.",
"type":"string"
},
"sitePropertiesList":{
"description":"The list of site related properties for the profile",
"type":"array",
"items":{
"type":"object",
"properties":{
"site":{
"description":"The site data",
"type":"object",
"properties":{
"id":{
"description":"The id of the site",
"type":"string"
}
}
},
"properties":{
"description":"The site related properties for the profile",
"type":"object",
"properties":{
"GDPRProfileP13nConsentDate":{
"description":"The date on which GDPR personalization consent is granted for the profile.",
"type":"string"
},
"GDPRProfileP13nConsentGranted":{
"description":"This is GDPR profile personalization consent flag. can be true or false.",
"type":"boolean"
},
"receiveEmail":{
"description":"Indicates whether the user should receive marketing emails on the current site. Can be yes or no.",
"type":"string"
},
"receiveEmailDate":{
"description":"The date on which email marketing consent is granted for the profile.",
"type":"string"
}
}
}
}
}
},
"profileType":{
"description":"The type of profile",
"type":"string"
},
"loyaltyPrograms":{
"description":"Loyalty Programs Information",
"type":"array",
"items":{
"type":"object",
"properties":{
"programName":{
"description":"programName of Loyalty Program",
"type":"string"
},
"repositoryId":{
"description":"repository Id",
"type":"string"
},
"membershipId":{
"description":"membershipId of the profile.",
"type":"string"
},
"programId":{
"description":"programId of Loyalty Program",
"type":"string"
},
"status":{
"description":"status of Enrollment.",
"type":"string"
}
}
}
},
"registrationDate":{
"format":"date-time",
"description":"Registration date",
"type":"string"
},
"sessionOrganization":{
"description":"The session Organization",
"type":"object",
"properties":{
"id":{
"description":"The session Organization Id",
"type":"string"
}
}
},
"id":{
"description":"Id",
"type":"string"
},
"partyId":{
"description":"Party Id of the contact",
"type":"number"
},
"email":{
"description":"The email address of the profile",
"type":"string"
},
"derivedSalePriceList":{
"type":"object",
"properties":{
"item-id":{
"type":"string"
},
"itemAcl":{
"type":"string"
},
"lastModifiedDate":{
"type":"string"
},
"endDate":{
"type":"string"
},
"displayName":{
"type":"string"
},
"description":{
"type":"string"
},
"id":{
"type":"string"
},
"creationDate":{
"type":"string"
},
"locale":{
"type":"string"
},
"version":{
"type":"integer"
},
"startDate":{
"type":"string"
},
"basePriceList":{
"type":"string"
}
}
},
"homeAddress":{
"description":"Home address",
"type":"object",
"properties":{
"lastName":{
"description":"Last name",
"type":"string"
},
"country":{
"description":"The country of the home address",
"type":"string"
},
"address3":{
"description":"The address3 of the home address",
"type":"string"
},
"address2":{
"description":"The address2 of the home address",
"type":"string"
},
"city":{
"description":"The city of the home address",
"type":"string"
},
"address1":{
"description":"The address1 of the home address",
"type":"string"
},
"prefix":{
"description":"Prefix",
"type":"string"
},
"companyName":{
"description":"Company Name",
"type":"string"
},
"postalCode":{
"description":"The postal Code of the home address",
"type":"string"
},
"county":{
"description":"The county of the home address",
"type":"string"
},
"suffix":{
"description":"Suffix",
"type":"string"
},
"externalAddressId":{
"description":"External ID of the address",
"type":"string"
},
"firstName":{
"description":"The first name of the home address",
"type":"string"
},
"phoneNumber":{
"description":"The phone Number of the home address",
"type":"string"
},
"item-id":{
"description":"Home address Id",
"type":"string"
},
"repositoryId":{
"description":"repositoryId",
"type":"string"
},
"faxNumber":{
"description":"Fax Number",
"type":"string"
},
"middleName":{
"description":"Middle name",
"type":"string"
},
"state":{
"description":"The state of the home address",
"type":"string"
}
}
},
"daytimeTelephoneNumber":{
"description":"The day time phone number of the profile",
"type":"string"
},
"customerContactId":{
"description":"The external customer contact id.",
"type":"string"
},
"taxExempt":{
"description":"if tax is exempted",
"type":"boolean"
},
"comments":{
"description":"the notes on the customer.",
"type":"array",
"items":{
"description":"The info of the customer",
"type":"object",
"properties":{
"owner":{
"description":"The owner of the note.",
"type":"string"
},
"agent":{
"description":"The type of update.",
"type":"string"
},
"item-id":{
"description":"The item-id of the comment",
"type":"string"
},
"comment":{
"description":"The description of comment.",
"type":"string"
},
"id":{
"description":"The id of the comment.",
"type":"string"
},
"creationDate":{
"description":"The creation date of the note.",
"type":"string"
},
"version":{
"description":"The version of the note.",
"type":"integer"
}
}
}
},
"shippingAddressesIsTruncated":{
"description":"This property will be added to the webhook payload only if the corresponding shippingAddresses property is truncated. The value for this field will be true always if present",
"type":"boolean"
},
"priceListGroup":{
"type":"object",
"properties":{
"deleted":{
"type":"boolean"
},
"endDate":{
"type":"string"
},
"displayName":{
"type":"string"
},
"listPriceList":{
"type":"object",
"properties":{
"item-id":{
"type":"string"
},
"itemAcl":{
"type":"string"
},
"lastModifiedDate":{
"type":"string"
},
"endDate":{
"type":"string"
},
"displayName":{
"type":"string"
},
"description":{
"type":"string"
},
"id":{
"type":"string"
},
"creationDate":{
"type":"string"
},
"locale":{
"type":"string"
},
"version":{
"type":"integer"
},
"startDate":{
"type":"string"
},
"basePriceList":{
"type":"string"
}
}
},
"active":{
"type":"boolean"
},
"salePriceList":{
"type":"object",
"properties":{
"item-id":{
"type":"string"
},
"itemAcl":{
"type":"string"
},
"lastModifiedDate":{
"type":"string"
},
"endDate":{
"type":"string"
},
"displayName":{
"type":"string"
},
"description":{
"type":"string"
},
"id":{
"type":"string"
},
"creationDate":{
"type":"string"
},
"locale":{
"type":"string"
},
"version":{
"type":"integer"
},
"startDate":{
"type":"string"
},
"basePriceList":{
"type":"string"
}
}
},
"currency":{
"type":"object",
"properties":{
"symbol":{
"type":"string"
},
"displayName":{
"type":"string"
},
"fractionalDigits":{
"type":"integer"
},
"currencyCode":{
"type":"string"
},
"numericCode":{
"type":"string"
}
}
},
"id":{
"type":"string"
},
"locale":{
"type":"string"
},
"shippingSurchargePriceList":{
"type":"object",
"properties":{
"item-id":{
"type":"string"
},
"itemAcl":{
"type":"string"
},
"lastModifiedDate":{
"type":"string"
},
"endDate":{
"type":"string"
},
"displayName":{
"type":"string"
},
"description":{
"type":"string"
},
"id":{
"type":"string"
},
"creationDate":{
"type":"string"
},
"locale":{
"type":"string"
},
"version":{
"type":"integer"
},
"startDate":{
"type":"string"
},
"basePriceList":{
"type":"string"
}
}
},
"startDate":{
"type":"string"
}
}
},
"receiveEmail":{
"description":"The string representation of whether the user wants to recieve email or not",
"type":"string"
},
"active":{
"description":"Is the profile active",
"type":"boolean"
},
"dateOfBirth":{
"format":"date-time",
"description":"Date of Birth",
"type":"string"
},
"version":{
"description":"Version",
"type":"integer"
},
"abandonedOrderCount":{
"description":"Number of abandoned orders",
"type":"number"
},
"firstName":{
"description":"The first name of the profile",
"type":"string"
},
"secondaryAddressesIsTruncated":{
"description":"This property will be added to the webhook payload only if the corresponding secondaryAddresses property is truncated. The value for this field will be true always if present",
"type":"boolean"
},
"siteId":{
"description":"Site Id associated with this profile",
"type":"string"
},
"shippingAddress":{
"description":"Shipping address",
"type":"object",
"properties":{
"lastName":{
"description":"Last name",
"type":"string"
},
"country":{
"description":"The country of the shipping address",
"type":"string"
},
"address3":{
"description":"The address3 of the shipping address",
"type":"string"
},
"address2":{
"description":"The address2 of the shipping address",
"type":"string"
},
"city":{
"description":"The city of the shipping address",
"type":"string"
},
"address1":{
"description":"The address1 of the shipping address",
"type":"string"
},
"prefix":{
"description":"Prefix",
"type":"string"
},
"companyName":{
"description":"Company Name",
"type":"string"
},
"postalCode":{
"description":"The postal Code of the shipping address",
"type":"string"
},
"county":{
"description":"The county of the shipping address",
"type":"string"
},
"suffix":{
"description":"Suffix",
"type":"string"
},
"externalAddressId":{
"description":"External ID of the address",
"type":"string"
},
"firstName":{
"description":"First name",
"type":"string"
},
"phoneNumber":{
"description":"The phone Number of the shipping address",
"type":"string"
},
"item-id":{
"description":"Shipping address Id",
"type":"string"
},
"repositoryId":{
"description":"repositoryId",
"type":"string"
},
"faxNumber":{
"description":"Fax Number",
"type":"string"
},
"middleName":{
"description":"Middle name",
"type":"string"
},
"state":{
"description":"The state of the shipping address",
"type":"string"
}
}
},
"currentOrganization":{
"description":"The current Organization",
"type":"object",
"properties":{
"id":{
"description":"The current Organization Id",
"type":"string"
}
}
},
"lastActivity":{
"format":"date-time",
"description":"Last activity",
"type":"string"
},
"middleName":{
"description":"The middle name of the profile",
"type":"string"
},
"billingAddress":{
"description":"Default billing address of the profile",
"type":"object",
"properties":{
"lastName":{
"description":"the last name of the billing address",
"type":"string"
},
"firstName":{
"description":"the first name of the billing address",
"type":"string"
},
"externalAddressId":{
"description":"External ID of the address",
"type":"string"
},
"country":{
"description":"the country of the billing address",
"type":"string"
},
"phoneNumber":{
"description":"the phone Number of the billing address",
"type":"string"
},
"address2":{
"description":"the address2 of the billing address",
"type":"string"
},
"city":{
"description":"the city of the billing address",
"type":"string"
},
"address1":{
"description":"the address1 of the billing address",
"type":"string"
},
"postalCode":{
"description":"the postal Code of the billing address",
"type":"string"
},
"county":{
"description":"the county of the billing address",
"type":"string"
},
"repositoryId":{
"description":"the id of the billing address",
"type":"string"
},
"state":{
"description":"the state of the billing address",
"type":"string"
}
}
},
"derivedShippingSurchargePriceList":{
"type":"object",
"properties":{
"item-id":{
"type":"string"
},
"itemAcl":{
"type":"string"
},
"lastModifiedDate":{
"type":"string"
},
"endDate":{
"type":"string"
},
"displayName":{
"type":"string"
},
"description":{
"type":"string"
},
"id":{
"type":"string"
},
"creationDate":{
"type":"string"
},
"locale":{
"type":"string"
},
"version":{
"type":"integer"
},
"startDate":{
"type":"string"
},
"basePriceList":{
"type":"string"
}
}
},
"partyNumber":{
"description":"Party Number of the contact",
"type":"string"
},
"secondaryOrganizations":{
"description":"List of secondary organizations that need to associate with the user.",
"type":"array",
"items":{
"type":"object",
"properties":{
"id":{
"description":"ID of the organization to be assigned.",
"type":"string"
}
}
}
},
"shippingAddresses":{
"description":"List of shipping addresses associated with profile. This property will be removed from the webhook request payload if the size exceeds the sub entity truncation size value configured for this webhook",
"type":"array",
"items":{
"type":"object",
"properties":{
"lastName":{
"description":"the last name of the shipping address",
"type":"string"
},
"country":{
"description":"the country of the shipping address",
"type":"string"
},
"address3":{
"description":"the address3 of the shipping address",
"type":"string"
},
"address2":{
"description":"the address2 of the shipping address",
"type":"string"
},
"city":{
"description":"the city of the shipping address",
"type":"string"
},
"address1":{
"description":"the address1 of the shipping address",
"type":"string"
},
"prefix":{
"description":"the prefix of the shipping address",
"type":"string"
},
"postalCode":{
"description":"the postal Code of the shipping address",
"type":"string"
},
"companyName":{
"description":"the company name of the shipping address",
"type":"string"
},
"county":{
"description":"the county of the shipping address",
"type":"string"
},
"suffix":{
"description":"the suffix of the shipping address",
"type":"string"
},
"firstName":{
"description":"the first name of the shipping address",
"type":"string"
},
"externalAddressId":{
"description":"External ID of the address",
"type":"string"
},
"phoneNumber":{
"description":"the phone Number of the shipping address",
"type":"string"
},
"item-id":{
"description":"item-id",
"type":"string"
},
"repositoryId":{
"description":"the id of the shipping address",
"type":"string"
},
"faxNumber":{
"description":"the faxNumber of the shipping address",
"type":"string"
},
"middleName":{
"description":"the middle name of the shipping address",
"type":"string"
},
"state":{
"description":"the state of the shipping address",
"type":"string"
}
}
}
}
}
}
Nested Schema : billingAddress
Type: object
Default billing address of the profile
Show Source
{
"description":"Default billing address of the profile",
"type":"object",
"properties":{
"lastName":{
"description":"the last name of the billing address",
"type":"string"
},
"firstName":{
"description":"the first name of the billing address",
"type":"string"
},
"externalAddressId":{
"description":"External ID of the address",
"type":"string"
},
"country":{
"description":"the country of the billing address",
"type":"string"
},
"phoneNumber":{
"description":"the phone Number of the billing address",
"type":"string"
},
"address2":{
"description":"the address2 of the billing address",
"type":"string"
},
"city":{
"description":"the city of the billing address",
"type":"string"
},
"address1":{
"description":"the address1 of the billing address",
"type":"string"
},
"postalCode":{
"description":"the postal Code of the billing address",
"type":"string"
},
"county":{
"description":"the county of the billing address",
"type":"string"
},
"repositoryId":{
"description":"the id of the billing address",
"type":"string"
},
"state":{
"description":"the state of the billing address",
"type":"string"
}
}
}
Nested Schema : comments
Type: array
the notes on the customer.
Show Source
{
"description":"the notes on the customer.",
"type":"array",
"items":{
"description":"The info of the customer",
"type":"object",
"properties":{
"owner":{
"description":"The owner of the note.",
"type":"string"
},
"agent":{
"description":"The type of update.",
"type":"string"
},
"item-id":{
"description":"The item-id of the comment",
"type":"string"
},
"comment":{
"description":"The description of comment.",
"type":"string"
},
"id":{
"description":"The id of the comment.",
"type":"string"
},
"creationDate":{
"description":"The creation date of the note.",
"type":"string"
},
"version":{
"description":"The version of the note.",
"type":"integer"
}
}
}
}
Nested Schema : currentOrganization
Type: object
The current Organization
Show Source
{
"description":"The current Organization",
"type":"object",
"properties":{
"id":{
"description":"The current Organization Id",
"type":"string"
}
}
}
Nested Schema : derivedPriceListGroup
Type: object
Show Source
{
"type":"object",
"properties":{
"deleted":{
"type":"boolean"
},
"endDate":{
"type":"string"
},
"displayName":{
"type":"string"
},
"listPriceList":{
"type":"object",
"properties":{
"item-id":{
"type":"string"
},
"itemAcl":{
"type":"string"
},
"lastModifiedDate":{
"type":"string"
},
"endDate":{
"type":"string"
},
"displayName":{
"type":"string"
},
"description":{
"type":"string"
},
"id":{
"type":"string"
},
"creationDate":{
"type":"string"
},
"locale":{
"type":"string"
},
"version":{
"type":"integer"
},
"startDate":{
"type":"string"
},
"basePriceList":{
"type":"string"
}
}
},
"active":{
"type":"boolean"
},
"salePriceList":{
"type":"object",
"properties":{
"item-id":{
"type":"string"
},
"itemAcl":{
"type":"string"
},
"lastModifiedDate":{
"type":"string"
},
"endDate":{
"type":"string"
},
"displayName":{
"type":"string"
},
"description":{
"type":"string"
},
"id":{
"type":"string"
},
"creationDate":{
"type":"string"
},
"locale":{
"type":"string"
},
"version":{
"type":"integer"
},
"startDate":{
"type":"string"
},
"basePriceList":{
"type":"string"
}
}
},
"currency":{
"type":"object",
"properties":{
"symbol":{
"type":"string"
},
"displayName":{
"type":"string"
},
"fractionalDigits":{
"type":"integer"
},
"currencyCode":{
"type":"string"
},
"numericCode":{
"type":"string"
}
}
},
"id":{
"type":"string"
},
"locale":{
"type":"string"
},
"shippingSurchargePriceList":{
"type":"object",
"properties":{
"item-id":{
"type":"string"
},
"itemAcl":{
"type":"string"
},
"lastModifiedDate":{
"type":"string"
},
"endDate":{
"type":"string"
},
"displayName":{
"type":"string"
},
"description":{
"type":"string"
},
"id":{
"type":"string"
},
"creationDate":{
"type":"string"
},
"locale":{
"type":"string"
},
"version":{
"type":"integer"
},
"startDate":{
"type":"string"
},
"basePriceList":{
"type":"string"
}
}
},
"startDate":{
"type":"string"
}
}
}
Nested Schema : derivedSalePriceList
Type: object
Show Source
{
"type":"object",
"properties":{
"item-id":{
"type":"string"
},
"itemAcl":{
"type":"string"
},
"lastModifiedDate":{
"type":"string"
},
"endDate":{
"type":"string"
},
"displayName":{
"type":"string"
},
"description":{
"type":"string"
},
"id":{
"type":"string"
},
"creationDate":{
"type":"string"
},
"locale":{
"type":"string"
},
"version":{
"type":"integer"
},
"startDate":{
"type":"string"
},
"basePriceList":{
"type":"string"
}
}
}
Nested Schema : derivedShippingSurchargePriceList
Type: object
Show Source
{
"type":"object",
"properties":{
"item-id":{
"type":"string"
},
"itemAcl":{
"type":"string"
},
"lastModifiedDate":{
"type":"string"
},
"endDate":{
"type":"string"
},
"displayName":{
"type":"string"
},
"description":{
"type":"string"
},
"id":{
"type":"string"
},
"creationDate":{
"type":"string"
},
"locale":{
"type":"string"
},
"version":{
"type":"integer"
},
"startDate":{
"type":"string"
},
"basePriceList":{
"type":"string"
}
}
}
Nested Schema : homeAddress
Type: object
Home address
Show Source
{
"description":"Home address",
"type":"object",
"properties":{
"lastName":{
"description":"Last name",
"type":"string"
},
"country":{
"description":"The country of the home address",
"type":"string"
},
"address3":{
"description":"The address3 of the home address",
"type":"string"
},
"address2":{
"description":"The address2 of the home address",
"type":"string"
},
"city":{
"description":"The city of the home address",
"type":"string"
},
"address1":{
"description":"The address1 of the home address",
"type":"string"
},
"prefix":{
"description":"Prefix",
"type":"string"
},
"companyName":{
"description":"Company Name",
"type":"string"
},
"postalCode":{
"description":"The postal Code of the home address",
"type":"string"
},
"county":{
"description":"The county of the home address",
"type":"string"
},
"suffix":{
"description":"Suffix",
"type":"string"
},
"externalAddressId":{
"description":"External ID of the address",
"type":"string"
},
"firstName":{
"description":"The first name of the home address",
"type":"string"
},
"phoneNumber":{
"description":"The phone Number of the home address",
"type":"string"
},
"item-id":{
"description":"Home address Id",
"type":"string"
},
"repositoryId":{
"description":"repositoryId",
"type":"string"
},
"faxNumber":{
"description":"Fax Number",
"type":"string"
},
"middleName":{
"description":"Middle name",
"type":"string"
},
"state":{
"description":"The state of the home address",
"type":"string"
}
}
}
Nested Schema : loyaltyPrograms
Type: array
Loyalty Programs Information
Show Source
{
"description":"Loyalty Programs Information",
"type":"array",
"items":{
"type":"object",
"properties":{
"programName":{
"description":"programName of Loyalty Program",
"type":"string"
},
"repositoryId":{
"description":"repository Id",
"type":"string"
},
"membershipId":{
"description":"membershipId of the profile.",
"type":"string"
},
"programId":{
"description":"programId of Loyalty Program",
"type":"string"
},
"status":{
"description":"status of Enrollment.",
"type":"string"
}
}
}
}
Nested Schema : parentOrganization
Type: object
The parent Organization
Show Source
{
"description":"The parent Organization",
"type":"object",
"properties":{
"name":{
"description":"The name of the parent organization",
"type":"string"
},
"id":{
"description":"The parent Organization Id",
"type":"string"
},
"externalOrganizationId":{
"description":"The parent Organization external Id",
"type":"string"
}
}
}
Nested Schema : priceListGroup
Type: object
Show Source
{
"type":"object",
"properties":{
"deleted":{
"type":"boolean"
},
"endDate":{
"type":"string"
},
"displayName":{
"type":"string"
},
"listPriceList":{
"type":"object",
"properties":{
"item-id":{
"type":"string"
},
"itemAcl":{
"type":"string"
},
"lastModifiedDate":{
"type":"string"
},
"endDate":{
"type":"string"
},
"displayName":{
"type":"string"
},
"description":{
"type":"string"
},
"id":{
"type":"string"
},
"creationDate":{
"type":"string"
},
"locale":{
"type":"string"
},
"version":{
"type":"integer"
},
"startDate":{
"type":"string"
},
"basePriceList":{
"type":"string"
}
}
},
"active":{
"type":"boolean"
},
"salePriceList":{
"type":"object",
"properties":{
"item-id":{
"type":"string"
},
"itemAcl":{
"type":"string"
},
"lastModifiedDate":{
"type":"string"
},
"endDate":{
"type":"string"
},
"displayName":{
"type":"string"
},
"description":{
"type":"string"
},
"id":{
"type":"string"
},
"creationDate":{
"type":"string"
},
"locale":{
"type":"string"
},
"version":{
"type":"integer"
},
"startDate":{
"type":"string"
},
"basePriceList":{
"type":"string"
}
}
},
"currency":{
"type":"object",
"properties":{
"symbol":{
"type":"string"
},
"displayName":{
"type":"string"
},
"fractionalDigits":{
"type":"integer"
},
"currencyCode":{
"type":"string"
},
"numericCode":{
"type":"string"
}
}
},
"id":{
"type":"string"
},
"locale":{
"type":"string"
},
"shippingSurchargePriceList":{
"type":"object",
"properties":{
"item-id":{
"type":"string"
},
"itemAcl":{
"type":"string"
},
"lastModifiedDate":{
"type":"string"
},
"endDate":{
"type":"string"
},
"displayName":{
"type":"string"
},
"description":{
"type":"string"
},
"id":{
"type":"string"
},
"creationDate":{
"type":"string"
},
"locale":{
"type":"string"
},
"version":{
"type":"integer"
},
"startDate":{
"type":"string"
},
"basePriceList":{
"type":"string"
}
}
},
"startDate":{
"type":"string"
}
}
}
Nested Schema : relativeTo
Type: array
If not provided organization id will be cosidered as its parent organization ID.
Show Source
{
"description":"If not provided organization id will be cosidered as its parent organization ID.",
"type":"array",
"items":{
"type":"object",
"properties":{
"id":{
"description":"Organization ID of the role to be assigned.",
"type":"string"
}
}
}
}
Nested Schema : roles
Type: array
List of user roles.
Show Source
{
"description":"List of user roles.",
"type":"array",
"items":{
"type":"object",
"properties":{
"associations":{
"type":"array",
"items":{
"type":"object",
"properties":{
"relatedItemId":{
"description":"It is the organization id to which role is associated. If the role is to be assigned in organization scope the relatedItemId is required and if the role is global scope then it should be null",
"type":"string"
},
"type":{
"description":"If the role is to be assigned in organization scope the type is (organization) and if the role is global scope the type is (global).",
"type":"string"
}
}
}
},
"function":{
"description":"Function of the role. Only returned for type organizationalRole.",
"type":"string"
},
"relativeTo":{
"description":"Organization in which the role applies. Only returned for organizationalRole.",
"type":"object",
"properties":{
"externalOrganizationId":{
"description":"ID of the external organization. Default is null.",
"type":"string"
},
"id":{
"description":"ID of the organization in which this role applies.",
"type":"string"
}
}
},
"name":{
"description":"Name of the role.",
"type":"string"
},
"repositoryId":{
"description":"Repository id of the role.",
"type":"string"
},
"description":{
"description":"Description of the role.",
"type":"string"
},
"accessRights":{
"description":"Access rights associated with this role.",
"type":"array",
"items":{
"type":"object",
"properties":{
"displayName":{
"description":"Display name of the access right",
"type":"string"
},
"name":{
"description":"Name of the access right",
"type":"string"
},
"repositoryId":{
"description":"Repository ID of the access right",
"type":"string"
},
"description":{
"description":"Description of the access right",
"type":"string"
},
"id":{
"description":"ID of the access right.",
"type":"string"
},
"type":{
"description":"Type of the access right. Can be generic or privilege.",
"type":"string"
}
}
}
},
"id":{
"description":"ID of the role.",
"type":"string"
},
"type":{
"description":"Type of the role. Can be role or organizationalRole",
"type":"string"
},
"category":{
"description":"Category of the role",
"type":"object",
"properties":{
"displayName":{
"description":"Display name of the role category.",
"type":"string"
},
"repositoryId":{
"description":"Repository ID of the role category.(customRoleCategory or storefrontRoleCategory)",
"type":"string"
},
"id":{
"description":"ID of the role category.(customRoleCategory or storefrontRoleCategory)",
"type":"string"
}
}
}
}
}
}
Nested Schema : secondaryOrganizations
Type: array
List of secondary organizations that need to associate with the user.
Show Source
{
"description":"List of secondary organizations that need to associate with the user.",
"type":"array",
"items":{
"type":"object",
"properties":{
"id":{
"description":"ID of the organization to be assigned.",
"type":"string"
}
}
}
}
Nested Schema : sessionOrganization
Type: object
The session Organization
Show Source
{
"description":"The session Organization",
"type":"object",
"properties":{
"id":{
"description":"The session Organization Id",
"type":"string"
}
}
}
Nested Schema : shippingAddress
Type: object
Shipping address
Show Source
{
"description":"Shipping address",
"type":"object",
"properties":{
"lastName":{
"description":"Last name",
"type":"string"
},
"country":{
"description":"The country of the shipping address",
"type":"string"
},
"address3":{
"description":"The address3 of the shipping address",
"type":"string"
},
"address2":{
"description":"The address2 of the shipping address",
"type":"string"
},
"city":{
"description":"The city of the shipping address",
"type":"string"
},
"address1":{
"description":"The address1 of the shipping address",
"type":"string"
},
"prefix":{
"description":"Prefix",
"type":"string"
},
"companyName":{
"description":"Company Name",
"type":"string"
},
"postalCode":{
"description":"The postal Code of the shipping address",
"type":"string"
},
"county":{
"description":"The county of the shipping address",
"type":"string"
},
"suffix":{
"description":"Suffix",
"type":"string"
},
"externalAddressId":{
"description":"External ID of the address",
"type":"string"
},
"firstName":{
"description":"First name",
"type":"string"
},
"phoneNumber":{
"description":"The phone Number of the shipping address",
"type":"string"
},
"item-id":{
"description":"Shipping address Id",
"type":"string"
},
"repositoryId":{
"description":"repositoryId",
"type":"string"
},
"faxNumber":{
"description":"Fax Number",
"type":"string"
},
"middleName":{
"description":"Middle name",
"type":"string"
},
"state":{
"description":"The state of the shipping address",
"type":"string"
}
}
}
Nested Schema : shippingAddresses
Type: array
List of shipping addresses associated with profile. This property will be removed from the webhook request payload if the size exceeds the sub entity truncation size value configured for this webhook
Show Source
{
"description":"List of shipping addresses associated with profile. This property will be removed from the webhook request payload if the size exceeds the sub entity truncation size value configured for this webhook",
"type":"array",
"items":{
"type":"object",
"properties":{
"lastName":{
"description":"the last name of the shipping address",
"type":"string"
},
"country":{
"description":"the country of the shipping address",
"type":"string"
},
"address3":{
"description":"the address3 of the shipping address",
"type":"string"
},
"address2":{
"description":"the address2 of the shipping address",
"type":"string"
},
"city":{
"description":"the city of the shipping address",
"type":"string"
},
"address1":{
"description":"the address1 of the shipping address",
"type":"string"
},
"prefix":{
"description":"the prefix of the shipping address",
"type":"string"
},
"postalCode":{
"description":"the postal Code of the shipping address",
"type":"string"
},
"companyName":{
"description":"the company name of the shipping address",
"type":"string"
},
"county":{
"description":"the county of the shipping address",
"type":"string"
},
"suffix":{
"description":"the suffix of the shipping address",
"type":"string"
},
"firstName":{
"description":"the first name of the shipping address",
"type":"string"
},
"externalAddressId":{
"description":"External ID of the address",
"type":"string"
},
"phoneNumber":{
"description":"the phone Number of the shipping address",
"type":"string"
},
"item-id":{
"description":"item-id",
"type":"string"
},
"repositoryId":{
"description":"the id of the shipping address",
"type":"string"
},
"faxNumber":{
"description":"the faxNumber of the shipping address",
"type":"string"
},
"middleName":{
"description":"the middle name of the shipping address",
"type":"string"
},
"state":{
"description":"the state of the shipping address",
"type":"string"
}
}
}
}
Nested Schema : shippingSurchargePriceList
Type: object
Show Source
{
"type":"object",
"properties":{
"item-id":{
"type":"string"
},
"itemAcl":{
"type":"string"
},
"lastModifiedDate":{
"type":"string"
},
"endDate":{
"type":"string"
},
"displayName":{
"type":"string"
},
"description":{
"type":"string"
},
"id":{
"type":"string"
},
"creationDate":{
"type":"string"
},
"locale":{
"type":"string"
},
"version":{
"type":"integer"
},
"startDate":{
"type":"string"
},
"basePriceList":{
"type":"string"
}
}
}
Nested Schema : sitePropertiesList
Type: array
The list of site related properties for the profile
Show Source
{
"description":"The list of site related properties for the profile",
"type":"array",
"items":{
"type":"object",
"properties":{
"site":{
"description":"The site data",
"type":"object",
"properties":{
"id":{
"description":"The id of the site",
"type":"string"
}
}
},
"properties":{
"description":"The site related properties for the profile",
"type":"object",
"properties":{
"GDPRProfileP13nConsentDate":{
"description":"The date on which GDPR personalization consent is granted for the profile.",
"type":"string"
},
"GDPRProfileP13nConsentGranted":{
"description":"This is GDPR profile personalization consent flag. can be true or false.",
"type":"boolean"
},
"receiveEmail":{
"description":"Indicates whether the user should receive marketing emails on the current site. Can be yes or no.",
"type":"string"
},
"receiveEmailDate":{
"description":"The date on which email marketing consent is granted for the profile.",
"type":"string"
}
}
}
}
}
}
Nested Schema : items
Type: object
The info of the customer
Show Source
{
"description":"The info of the customer",
"type":"object",
"properties":{
"owner":{
"description":"The owner of the note.",
"type":"string"
},
"agent":{
"description":"The type of update.",
"type":"string"
},
"item-id":{
"description":"The item-id of the comment",
"type":"string"
},
"comment":{
"description":"The description of comment.",
"type":"string"
},
"id":{
"description":"The id of the comment.",
"type":"string"
},
"creationDate":{
"description":"The creation date of the note.",
"type":"string"
},
"version":{
"description":"The version of the note.",
"type":"integer"
}
}
}
Nested Schema : currency
Type: object
Show Source
{
"type":"object",
"properties":{
"symbol":{
"type":"string"
},
"displayName":{
"type":"string"
},
"fractionalDigits":{
"type":"integer"
},
"currencyCode":{
"type":"string"
},
"numericCode":{
"type":"string"
}
}
}
Nested Schema : listPriceList
Type: object
Show Source
{
"type":"object",
"properties":{
"item-id":{
"type":"string"
},
"itemAcl":{
"type":"string"
},
"lastModifiedDate":{
"type":"string"
},
"endDate":{
"type":"string"
},
"displayName":{
"type":"string"
},
"description":{
"type":"string"
},
"id":{
"type":"string"
},
"creationDate":{
"type":"string"
},
"locale":{
"type":"string"
},
"version":{
"type":"integer"
},
"startDate":{
"type":"string"
},
"basePriceList":{
"type":"string"
}
}
}
Nested Schema : salePriceList
Type: object
Show Source
{
"type":"object",
"properties":{
"item-id":{
"type":"string"
},
"itemAcl":{
"type":"string"
},
"lastModifiedDate":{
"type":"string"
},
"endDate":{
"type":"string"
},
"displayName":{
"type":"string"
},
"description":{
"type":"string"
},
"id":{
"type":"string"
},
"creationDate":{
"type":"string"
},
"locale":{
"type":"string"
},
"version":{
"type":"integer"
},
"startDate":{
"type":"string"
},
"basePriceList":{
"type":"string"
}
}
}
Nested Schema : shippingSurchargePriceList
Type: object
Show Source
{
"type":"object",
"properties":{
"item-id":{
"type":"string"
},
"itemAcl":{
"type":"string"
},
"lastModifiedDate":{
"type":"string"
},
"endDate":{
"type":"string"
},
"displayName":{
"type":"string"
},
"description":{
"type":"string"
},
"id":{
"type":"string"
},
"creationDate":{
"type":"string"
},
"locale":{
"type":"string"
},
"version":{
"type":"integer"
},
"startDate":{
"type":"string"
},
"basePriceList":{
"type":"string"
}
}
}
Nested Schema : items
Type: object
Show Source
{
"type":"object",
"properties":{
"programName":{
"description":"programName of Loyalty Program",
"type":"string"
},
"repositoryId":{
"description":"repository Id",
"type":"string"
},
"membershipId":{
"description":"membershipId of the profile.",
"type":"string"
},
"programId":{
"description":"programId of Loyalty Program",
"type":"string"
},
"status":{
"description":"status of Enrollment.",
"type":"string"
}
}
}
Nested Schema : currency
Type: object
Show Source
{
"type":"object",
"properties":{
"symbol":{
"type":"string"
},
"displayName":{
"type":"string"
},
"fractionalDigits":{
"type":"integer"
},
"currencyCode":{
"type":"string"
},
"numericCode":{
"type":"string"
}
}
}
Nested Schema : listPriceList
Type: object
Show Source
{
"type":"object",
"properties":{
"item-id":{
"type":"string"
},
"itemAcl":{
"type":"string"
},
"lastModifiedDate":{
"type":"string"
},
"endDate":{
"type":"string"
},
"displayName":{
"type":"string"
},
"description":{
"type":"string"
},
"id":{
"type":"string"
},
"creationDate":{
"type":"string"
},
"locale":{
"type":"string"
},
"version":{
"type":"integer"
},
"startDate":{
"type":"string"
},
"basePriceList":{
"type":"string"
}
}
}
Nested Schema : salePriceList
Type: object
Show Source
{
"type":"object",
"properties":{
"item-id":{
"type":"string"
},
"itemAcl":{
"type":"string"
},
"lastModifiedDate":{
"type":"string"
},
"endDate":{
"type":"string"
},
"displayName":{
"type":"string"
},
"description":{
"type":"string"
},
"id":{
"type":"string"
},
"creationDate":{
"type":"string"
},
"locale":{
"type":"string"
},
"version":{
"type":"integer"
},
"startDate":{
"type":"string"
},
"basePriceList":{
"type":"string"
}
}
}
Nested Schema : shippingSurchargePriceList
Type: object
Show Source
{
"type":"object",
"properties":{
"item-id":{
"type":"string"
},
"itemAcl":{
"type":"string"
},
"lastModifiedDate":{
"type":"string"
},
"endDate":{
"type":"string"
},
"displayName":{
"type":"string"
},
"description":{
"type":"string"
},
"id":{
"type":"string"
},
"creationDate":{
"type":"string"
},
"locale":{
"type":"string"
},
"version":{
"type":"integer"
},
"startDate":{
"type":"string"
},
"basePriceList":{
"type":"string"
}
}
}
Nested Schema : items
Type: object
Show Source
-
id:
string
Organization ID of the role to be assigned.
{
"type":"object",
"properties":{
"id":{
"description":"Organization ID of the role to be assigned.",
"type":"string"
}
}
}
Nested Schema : items
Type: object
Show Source
{
"type":"object",
"properties":{
"associations":{
"type":"array",
"items":{
"type":"object",
"properties":{
"relatedItemId":{
"description":"It is the organization id to which role is associated. If the role is to be assigned in organization scope the relatedItemId is required and if the role is global scope then it should be null",
"type":"string"
},
"type":{
"description":"If the role is to be assigned in organization scope the type is (organization) and if the role is global scope the type is (global).",
"type":"string"
}
}
}
},
"function":{
"description":"Function of the role. Only returned for type organizationalRole.",
"type":"string"
},
"relativeTo":{
"description":"Organization in which the role applies. Only returned for organizationalRole.",
"type":"object",
"properties":{
"externalOrganizationId":{
"description":"ID of the external organization. Default is null.",
"type":"string"
},
"id":{
"description":"ID of the organization in which this role applies.",
"type":"string"
}
}
},
"name":{
"description":"Name of the role.",
"type":"string"
},
"repositoryId":{
"description":"Repository id of the role.",
"type":"string"
},
"description":{
"description":"Description of the role.",
"type":"string"
},
"accessRights":{
"description":"Access rights associated with this role.",
"type":"array",
"items":{
"type":"object",
"properties":{
"displayName":{
"description":"Display name of the access right",
"type":"string"
},
"name":{
"description":"Name of the access right",
"type":"string"
},
"repositoryId":{
"description":"Repository ID of the access right",
"type":"string"
},
"description":{
"description":"Description of the access right",
"type":"string"
},
"id":{
"description":"ID of the access right.",
"type":"string"
},
"type":{
"description":"Type of the access right. Can be generic or privilege.",
"type":"string"
}
}
}
},
"id":{
"description":"ID of the role.",
"type":"string"
},
"type":{
"description":"Type of the role. Can be role or organizationalRole",
"type":"string"
},
"category":{
"description":"Category of the role",
"type":"object",
"properties":{
"displayName":{
"description":"Display name of the role category.",
"type":"string"
},
"repositoryId":{
"description":"Repository ID of the role category.(customRoleCategory or storefrontRoleCategory)",
"type":"string"
},
"id":{
"description":"ID of the role category.(customRoleCategory or storefrontRoleCategory)",
"type":"string"
}
}
}
}
}
Nested Schema : accessRights
Type: array
Access rights associated with this role.
Show Source
{
"description":"Access rights associated with this role.",
"type":"array",
"items":{
"type":"object",
"properties":{
"displayName":{
"description":"Display name of the access right",
"type":"string"
},
"name":{
"description":"Name of the access right",
"type":"string"
},
"repositoryId":{
"description":"Repository ID of the access right",
"type":"string"
},
"description":{
"description":"Description of the access right",
"type":"string"
},
"id":{
"description":"ID of the access right.",
"type":"string"
},
"type":{
"description":"Type of the access right. Can be generic or privilege.",
"type":"string"
}
}
}
}
Nested Schema : associations
Type: array
Show Source
{
"type":"array",
"items":{
"type":"object",
"properties":{
"relatedItemId":{
"description":"It is the organization id to which role is associated. If the role is to be assigned in organization scope the relatedItemId is required and if the role is global scope then it should be null",
"type":"string"
},
"type":{
"description":"If the role is to be assigned in organization scope the type is (organization) and if the role is global scope the type is (global).",
"type":"string"
}
}
}
}
Nested Schema : category
Type: object
Category of the role
Show Source
{
"description":"Category of the role",
"type":"object",
"properties":{
"displayName":{
"description":"Display name of the role category.",
"type":"string"
},
"repositoryId":{
"description":"Repository ID of the role category.(customRoleCategory or storefrontRoleCategory)",
"type":"string"
},
"id":{
"description":"ID of the role category.(customRoleCategory or storefrontRoleCategory)",
"type":"string"
}
}
}
Nested Schema : relativeTo
Type: object
Organization in which the role applies. Only returned for organizationalRole.
Show Source
{
"description":"Organization in which the role applies. Only returned for organizationalRole.",
"type":"object",
"properties":{
"externalOrganizationId":{
"description":"ID of the external organization. Default is null.",
"type":"string"
},
"id":{
"description":"ID of the organization in which this role applies.",
"type":"string"
}
}
}
Nested Schema : items
Type: object
Show Source
{
"type":"object",
"properties":{
"displayName":{
"description":"Display name of the access right",
"type":"string"
},
"name":{
"description":"Name of the access right",
"type":"string"
},
"repositoryId":{
"description":"Repository ID of the access right",
"type":"string"
},
"description":{
"description":"Description of the access right",
"type":"string"
},
"id":{
"description":"ID of the access right.",
"type":"string"
},
"type":{
"description":"Type of the access right. Can be generic or privilege.",
"type":"string"
}
}
}
Nested Schema : items
Type: object
Show Source
-
relatedItemId:
string
It is the organization id to which role is associated. If the role is to be assigned in organization scope the relatedItemId is required and if the role is global scope then it should be null
-
type:
string
If the role is to be assigned in organization scope the type is (organization) and if the role is global scope the type is (global).
{
"type":"object",
"properties":{
"relatedItemId":{
"description":"It is the organization id to which role is associated. If the role is to be assigned in organization scope the relatedItemId is required and if the role is global scope then it should be null",
"type":"string"
},
"type":{
"description":"If the role is to be assigned in organization scope the type is (organization) and if the role is global scope the type is (global).",
"type":"string"
}
}
}
Nested Schema : items
Type: object
Show Source
{
"type":"object",
"properties":{
"id":{
"description":"ID of the organization to be assigned.",
"type":"string"
}
}
}
Nested Schema : items
Type: object
Show Source
{
"type":"object",
"properties":{
"lastName":{
"description":"the last name of the shipping address",
"type":"string"
},
"country":{
"description":"the country of the shipping address",
"type":"string"
},
"address3":{
"description":"the address3 of the shipping address",
"type":"string"
},
"address2":{
"description":"the address2 of the shipping address",
"type":"string"
},
"city":{
"description":"the city of the shipping address",
"type":"string"
},
"address1":{
"description":"the address1 of the shipping address",
"type":"string"
},
"prefix":{
"description":"the prefix of the shipping address",
"type":"string"
},
"postalCode":{
"description":"the postal Code of the shipping address",
"type":"string"
},
"companyName":{
"description":"the company name of the shipping address",
"type":"string"
},
"county":{
"description":"the county of the shipping address",
"type":"string"
},
"suffix":{
"description":"the suffix of the shipping address",
"type":"string"
},
"firstName":{
"description":"the first name of the shipping address",
"type":"string"
},
"externalAddressId":{
"description":"External ID of the address",
"type":"string"
},
"phoneNumber":{
"description":"the phone Number of the shipping address",
"type":"string"
},
"item-id":{
"description":"item-id",
"type":"string"
},
"repositoryId":{
"description":"the id of the shipping address",
"type":"string"
},
"faxNumber":{
"description":"the faxNumber of the shipping address",
"type":"string"
},
"middleName":{
"description":"the middle name of the shipping address",
"type":"string"
},
"state":{
"description":"the state of the shipping address",
"type":"string"
}
}
}
Nested Schema : items
Type: object
Show Source
{
"type":"object",
"properties":{
"site":{
"description":"The site data",
"type":"object",
"properties":{
"id":{
"description":"The id of the site",
"type":"string"
}
}
},
"properties":{
"description":"The site related properties for the profile",
"type":"object",
"properties":{
"GDPRProfileP13nConsentDate":{
"description":"The date on which GDPR personalization consent is granted for the profile.",
"type":"string"
},
"GDPRProfileP13nConsentGranted":{
"description":"This is GDPR profile personalization consent flag. can be true or false.",
"type":"boolean"
},
"receiveEmail":{
"description":"Indicates whether the user should receive marketing emails on the current site. Can be yes or no.",
"type":"string"
},
"receiveEmailDate":{
"description":"The date on which email marketing consent is granted for the profile.",
"type":"string"
}
}
}
}
}
Nested Schema : properties
Type: object
The site related properties for the profile
Show Source
{
"description":"The site related properties for the profile",
"type":"object",
"properties":{
"GDPRProfileP13nConsentDate":{
"description":"The date on which GDPR personalization consent is granted for the profile.",
"type":"string"
},
"GDPRProfileP13nConsentGranted":{
"description":"This is GDPR profile personalization consent flag. can be true or false.",
"type":"boolean"
},
"receiveEmail":{
"description":"Indicates whether the user should receive marketing emails on the current site. Can be yes or no.",
"type":"string"
},
"receiveEmailDate":{
"description":"The date on which email marketing consent is granted for the profile.",
"type":"string"
}
}
}
Nested Schema : site
Type: object
The site data
Show Source
{
"description":"The site data",
"type":"object",
"properties":{
"id":{
"description":"The id of the site",
"type":"string"
}
}
}