getProfile
get
                    /ccagent/v1/profiles/{id}
Get Profile. Get details of a customer profile. Optionally takes X-CCOrganization & x-ccsite header.
                Request
Supported Media Types
                - application/json
 
Path Parameters
                - 
                    id: string
                    
                    The customer profile id.
 
Header Parameters
                - 
                        X-CCOrganization(optional): string
                        
                        The organization Id to which the profile belongs to
 - 
                        x-ccsite(optional): string
                        
                        the site id corresponding to which site specific properties should be shown
 
Response
Supported Media Types
                - application/json
 
200 Response
Following model is returned when operation succeeds.
                
                
                    Root Schema : getProfile_response
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            active(optional): 
            boolean
            the user status of the profile. Should be true or false
 - 
            billingAddress(optional): 
            object  billingAddress
            
            Default billing address of the profile
 - 
            catalog(optional): 
            string
            This is a read only attribute added for 'Account Based Commerce', this is the ID of the catalog that is associated with the organization to which this user is associated
 - 
            creditCards(optional): 
            array  creditCards
            
            List of user credit cards.
 - 
            customerContactId(optional): 
            string
            The external customer contact id.
 - 
            dateOfBirth(optional): 
            string
            The date of birth of the profile user.
 - 
            daytimeTelephoneNumber(optional): 
            string
            the phone Number of the profile
 - 
            derivedPriceListGroup(optional): 
            object  derivedPriceListGroup
            
            The derived price list group from the user's parent organization
 - 
            derivedSalePriceList(optional): 
            object  derivedSalePriceList
            
            The derived sale price list from the user's parent organization
 - 
            derivedShippingSurchargePriceList(optional): 
            object  derivedShippingSurchargePriceList
            
            The derived shipping surcharge price list from the user's parent organization
 - 
            derivedTaxExemptionCode(optional): 
            string
            Derived Tax Exemption Code
 - 
            dynamicInternalOnlyProperty(optional): 
            object  dynamicInternalOnlyProperty
            
            the value of the internal only dynamic property
 - 
            dynamicProperty(optional): 
            object  dynamicProperty
            
            the value of the dynamic Property
 - 
            email(optional): 
            string
            the email address of the profile
 - 
            firstName(optional): 
            string
            the first name of the profile
 - 
            firstPurchaseDate(optional): 
            string
            The first time the shopper made a purchase.
 - 
            firstVisitDate(optional): 
            string
            First Visit Date on the profile
 - 
            GDPRProfileP13nConsentDate(optional): 
            string
            The date on which GDPR personalization consent was granted by the user.
 - 
            GDPRProfileP13nConsentGranted(optional): 
            boolean
            If user has given consent for his/her profile information to be used for personalization purposes.
 - 
            gender(optional): 
            string
            The gender of the profile user.
 - 
            id(optional): 
            string
            get the shopper profile with id
 - 
            lastActivity(optional): 
            number
            Last activity of the profile
 - 
            lastName(optional): 
            string
            the last name of the profile
 - 
            lastPurchaseAmount(optional): 
            number
            The amount of the last purchase.
 - 
            lastPurchaseDate(optional): 
            string
            The last time the shopper made a purchase.
 - 
            lastVisitDate(optional): 
            string
            The last time the shopper visited.
 - 
            lifetimeAOV(optional): 
            number
            Lifetime Average Order Value
 - 
            lifetimeCurrencyCode(optional): 
            string
            Life time currency Code
 - 
            lifetimeSpend(optional): 
            number
            Lifetime spend of the profile
 - 
            locale(optional): 
            string
            the locale of the request/response
 - 
            login(optional): 
            string
            login of the user
 - 
            loyaltyPrograms(optional): 
            array  loyaltyPrograms
            
            Loyalty Programs Information
 - 
            numberOfOrders(optional): 
            number
            The number of orders the shopper has placed.
 - 
            numberOfVisits(optional): 
            integer
            Number of Visits on the profile
 - 
            parentOrganization(optional): 
            object  parentOrganization
            
            This attribute is added for 'Account Based Commerce', this is required only in case of 'Account Based Commerce', this is the id of organization to which user is associated
 - 
            previousVisitDate(optional): 
            string
            Previous Visit Date on the profile
 - 
            priceListGroup(optional): 
            object  priceListGroup
            
            The associated price list group for this user
 - 
            profileType(optional): 
            string
            This attribute is added for account based commerce, It's value is 'b2b_user'
 - 
            receiveEmail(optional): 
            string
            this is site specific email marketing flag. can be yes or no
 - 
            receiveEmailDate(optional): 
            string
            the date on which email marketing consent was granted
 - 
            registrationDate(optional): 
            string
            The date the shopper registered.
 - 
            repositoryId(optional): 
            string
            the id of the profile
 - 
            roles(optional): 
            array  roles
            
            List of user roles.
 - 
            secondaryOrganizations(optional): 
            array  secondaryOrganizations
            
            List of secondary organizations associated to profile. It will be empty always. Secondary Organizations associated to the profile can be fetched using organization endpoints
 - 
            shippingAddress(optional): 
            object  profile_shippingAddress
            
            Default shipping address of the profile (Deprecated, please use ???shippingAddresses??? instead).
 - 
            shippingAddresses(optional): 
            array  shippingAddresses
            
            List of shipping addresses associated with profile.
 - 
            shippingSurchargePriceList(optional): 
            object  shippingSurchargePriceList
            
            The shipping surcharge price list for this user
 - 
            taxExempt(optional): 
            boolean
            Indicates tax exemption status.True or False
 - 
            taxExemptionCode(optional): 
            string
            Tax Exemption Code
 - 
            translations(optional): 
            array  translations
            
            List of available locales for the user
 - 
            userType(optional): 
            integer
            Type of the user(property not used currently)
 
Nested Schema : billingAddress
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectDefault billing address of the profile
    
    
    
    
        Show Source
        - 
            address1(optional): 
            string
            the address1 of the billing address
 - 
            address2(optional): 
            string
            the address2 of the billing address
 - 
            address3(optional): 
            string
            the address3 of the shipping address
 - 
            city(optional): 
            string
            the city of the billing address
 - 
            country(optional): 
            string
            the country of the billing address
 - 
            county(optional): 
            string
            the county of the billing address
 - 
            externalAddressId(optional): 
            string
            External address id
 - 
            firstName(optional): 
            string
            the first name of the billing address
 - 
            lastName(optional): 
            string
            the last name of the billing address
 - 
            phoneNumber(optional): 
            string
            the phone Number of the billing address
 - 
            postalCode(optional): 
            string
            the postal Code of the billing address
 - 
            repositoryId(optional): 
            string
            the id of the billing address
 - 
            state(optional): 
            string
            the state of the billing address
 - 
            types(optional): 
            array  types
            
            The types tagged to the address
 
Nested Schema : derivedPriceListGroup
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectThe derived price list group from the user's parent organization
    
    
    
    
        Show Source
        - 
            repositoryId(optional): 
            string
            Repository ID
 
Nested Schema : derivedSalePriceList
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectThe derived sale price list from the user's parent organization
    
    
    
    
        Show Source
        - 
            repositoryId(optional): 
            string
            Repository ID
 
Nested Schema : derivedShippingSurchargePriceList
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectThe derived shipping surcharge price list from the user's parent organization
    
    
    
    
        Show Source
        - 
            repositoryId(optional): 
            string
            Repository ID
 
Nested Schema : dynamicInternalOnlyProperty
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectthe value of the internal only dynamic property
    
    
    
    
    
    
    
    
    
    
Nested Schema : dynamicProperty
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectthe value of the dynamic Property
    
    
    
    
    
    
    
    
    
    
Nested Schema : parentOrganization
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectThis attribute is added for 'Account Based Commerce', this is required only in case of 'Account Based Commerce', this is the id of organization to which user is associated
    
    
    
    
        Show Source
        - 
            active(optional): 
            boolean
            the status of the parent organization. Should be true or false
 - 
            billingAddress(optional): 
            object  billingAddress
            
            Default billing address of the organization
 - 
            description(optional): 
            string
            Description of the Organization
 - 
            externalOrganizationId(optional): 
            string
            External organization id
 - 
            id(optional): 
            string
            the id of the parent organization
 - 
            name(optional): 
            string
            the name of the parent organization
 - 
            repositoryId(optional): 
            string
            the id of the parent organization
 - 
            secondaryAddresses(optional): 
            array  secondaryAddresses
            
            List of shipping addresses associated with profile.
 - 
            shippingAddress(optional): 
            object  shippingAddress
            
            Default shipping address of the organization
 
Nested Schema : priceListGroup
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectThe associated price list group for this user
    
    
    
    
        Show Source
        - 
            repositoryId(optional): 
            string
            Repository ID
 
Nested Schema : secondaryOrganizations
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayList of secondary organizations associated to profile. It will be empty always. Secondary Organizations associated to the profile can be fetched using organization endpoints
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
Nested Schema : profile_shippingAddress
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectDefault shipping address of the profile (Deprecated, please use ???shippingAddresses??? instead).
    
    
    
    
        Show Source
        - 
            address1(optional): 
            string
            The address1 of the shipping address
 - 
            address2(optional): 
            string
            The address2 of the shipping address
 - 
            address3(optional): 
            string
            The address3 of the shipping address
 - 
            city(optional): 
            string
            The city of the shipping address
 - 
            country(optional): 
            string
            The country of the shipping address
 - 
            county(optional): 
            string
            The county of the shipping address
 - 
            externalAddressId(optional): 
            string
            External address id
 - 
            firstName(optional): 
            string
            The first name of the shipping address
 - 
            lastName(optional): 
            string
            The last name of the shipping address
 - 
            phoneNumber(optional): 
            string
            The phone Number of the shipping address
 - 
            postalCode(optional): 
            string
            The postal Code of the shipping address
 - 
            repositoryId(optional): 
            string
            The id of the shipping address
 - 
            state(optional): 
            string
            The state of the shipping address
 - 
            types(optional): 
            array  types
            
            The types tagged to the address
 
Nested Schema : shippingAddresses
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayList of shipping addresses associated with profile.
    
    
    
    
    
        Show Source
        - 
            Array of: 
                object  profile_shippingAddress_response
            
            Shipping address associated with the profile
 
Nested Schema : shippingSurchargePriceList
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectThe shipping surcharge price list for this user
    
    
    
    
        Show Source
        - 
            repositoryId(optional): 
            string
            Repository ID
 
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            displayName(optional): 
            string
            The name of the address type
 - 
            id(optional): 
            string
            repository Id of the address type
 - 
            repositoryId(optional): 
            string
            repository Id of the address type
 
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            billingAddress(optional): 
            object  billingAddress
            
            Default billing address of the profile
 - 
            cardProps(optional): 
            object  cardProps
            
            
 - 
            cardSavedDate(optional): 
            string
            Saved date of the credit card.
 - 
            creditCardNumber(optional): 
            string
            Number of the credit card, required property.
 - 
            creditCardType(optional): 
            string
            Type of the credit card.
 - 
            expirationDayOfMonth(optional): 
            string
            Expiration day of the credit card.
 - 
            expirationMonth(optional): 
            string
            Expiration month of the credit card, required property.
 - 
            expirationYear(optional): 
            string
            Expiration year of the credit card, required property.
 - 
            gatewayConfigId(optional): 
            string
            Gateway configId for the credit card, required property.
 - 
            id(optional): 
            string
            Id of the credit card.
 - 
            iin(optional): 
            string
            iin value of the credit card, required property.
 - 
            nameOnCard(optional): 
            string
            Name on the credit card, required property.
 - 
            nickname(optional): 
            string
            Nick name of the credit card.
 - 
            source(optional): 
            string
            Source information of the credit card.
 - 
            token(optional): 
            string
            Token of the credit card, required property.
 - 
            tokenCreatedDate(optional): 
            string
            Creation date of the token.
 - 
            tokenExpiryDate(optional): 
            string
            Expiry date of the token.
 
Nested Schema : billingAddress
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectDefault billing address of the profile
    
    
    
    
        Show Source
        - 
            address1(optional): 
            string
            the address1 of the billing address
 - 
            address2(optional): 
            string
            the address2 of the billing address
 - 
            address3(optional): 
            string
            The address3 of the billing address
 - 
            city(optional): 
            string
            the city of the billing address
 - 
            country(optional): 
            string
            the country of the billing address
 - 
            county(optional): 
            string
            the county of the billing address
 - 
            externalAddressId(optional): 
            string
            External address id
 - 
            firstName(optional): 
            string
            the first name of the billing address
 - 
            lastName(optional): 
            string
            the last name of the billing address
 - 
            phoneNumber(optional): 
            string
            the phone Number of the billing address
 - 
            postalCode(optional): 
            string
            the postal Code of the billing address
 - 
            repositoryId(optional): 
            string
            the id of the billing address
 - 
            state(optional): 
            string
            the state of the billing address
 - 
            types(optional): 
            array  types
            
            The types tagged to the address
 
Nested Schema : cardProps
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
objectNested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            displayName(optional): 
            string
            The name of the address type
 - 
            id(optional): 
            string
            repository Id of the address type
 - 
            repositroyId(optional): 
            string
            repository Id of the address type
 
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            membershipId(optional): 
            string
            membershipId of the profile.
 - 
            programId(optional): 
            string
            programId of Loyalty Program
 - 
            programName(optional): 
            string
            programName of Loyalty Program
 - 
            repositoryId(optional): 
            string
            repository Id
 - 
            status(optional): 
            string
            status of Enrollment.
 
Nested Schema : billingAddress
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectDefault billing address of the organization
    
    
    
    
        Show Source
        - 
            address1(optional): 
            string
            the address1 of the billing address
 - 
            address2(optional): 
            string
            the address2 of the billing address
 - 
            city(optional): 
            string
            the city of the billing address
 - 
            country(optional): 
            string
            the country of the billing address
 - 
            county(optional): 
            string
            the county of the billing address
 - 
            externalAddressId(optional): 
            string
            External address id
 - 
            firstName(optional): 
            string
            the first name of the billing address
 - 
            lastName(optional): 
            string
            the last name of the billing address
 - 
            phoneNumber(optional): 
            string
            the phone Number of the billing address
 - 
            postalCode(optional): 
            string
            the postal Code of the billing address
 - 
            repositoryId(optional): 
            string
            the id of the billing address
 - 
            state(optional): 
            string
            the state of the billing address
 - 
            types(optional): 
            array  types
            
            The types tagged to the address
 
Nested Schema : secondaryAddresses
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayList of shipping addresses associated with profile.
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
Nested Schema : shippingAddress
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectDefault shipping address of the organization
    
    
    
    
        Show Source
        - 
            address1(optional): 
            string
            the address1 of the shipping address
 - 
            address2(optional): 
            string
            the address2 of the shipping address
 - 
            city(optional): 
            string
            the city of the shipping address
 - 
            country(optional): 
            string
            the country of the shipping address
 - 
            county(optional): 
            string
            the county of the shipping address
 - 
            externalAddressId(optional): 
            string
            External address id
 - 
            firstName(optional): 
            string
            the first name of the shipping address
 - 
            lastName(optional): 
            string
            the last name of the shipping address
 - 
            phoneNumber(optional): 
            string
            the phone Number of the shipping address
 - 
            postalCode(optional): 
            string
            the postal Code of the shipping address
 - 
            repositoryId(optional): 
            string
            the id of the shipping address
 - 
            state(optional): 
            string
            the state of the shipping address
 - 
            types(optional): 
            array  types
            
            The types tagged to the address
 
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            displayName(optional): 
            string
            The name of the address type
 - 
            id(optional): 
            string
            repository Id of the address type
 - 
            repositoryId(optional): 
            string
            repository Id of the address type
 
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            address1(optional): 
            string
            the address1 of the shipping address
 - 
            address2(optional): 
            string
            the address2 of the shipping address
 - 
            city(optional): 
            string
            the city of the shipping address
 - 
            country(optional): 
            string
            the country of the shipping address
 - 
            county(optional): 
            string
            the county of the shipping address
 - 
            externalAddressId(optional): 
            string
            External address id
 - 
            firstName(optional): 
            string
            the first name of the shipping address
 - 
            lastName(optional): 
            string
            the last name of the shipping address
 - 
            phoneNumber(optional): 
            string
            the phone Number of the shipping address
 - 
            postalCode(optional): 
            string
            the postal Code of the shipping address
 - 
            repositoryId(optional): 
            string
            the id of the shipping address
 - 
            state(optional): 
            string
            the state of the shipping address
 - 
            types(optional): 
            array  types
            
            The types tagged to the address
 
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            displayName(optional): 
            string
            The name of the address type
 - 
            id(optional): 
            string
            repository Id of the address type
 - 
            repositoryId(optional): 
            string
            repository Id of the address type
 
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            displayName(optional): 
            string
            The name of the address type
 - 
            id(optional): 
            string
            repository Id of the address type
 - 
            repositroyId(optional): 
            string
            repository Id of the address type
 
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            function(optional): 
            string
            Function of the role which can be admin or buyer. Present only if type is organizationalRole.
 - 
            name(optional): 
            string
            Name of the role.
 - 
            relativeTo(optional): 
            object  relativeTo
            
            Organization in which the role applies. Present only if type is organizationalRole.
 - 
            repositoryId(optional): 
            string
            Repository id of the role.
 - 
            type(optional): 
            string
            Type of the role which can be organizationalRole or role.
 
Nested Schema : relativeTo
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectOrganization in which the role applies. Present only if type is organizationalRole.
    
    
    
    
        Show Source
        - 
            id(optional): 
            string
            Organization ID
 
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            active(optional): 
            boolean
            the status of the organization. Should be true or false
 - 
            billingAddress(optional): 
            object  billingAddress
            
            Default billing address of the profile
 - 
            description(optional): 
            string
            Description of the organization
 - 
            externalOrganizationId(optional): 
            string
            External organization id
 - 
            name(optional): 
            string
            the name of the organization
 - 
            repositoryId(optional): 
            string
            Repository ID
 - 
            secondaryAddresses(optional): 
            array  secondaryAddresses
            
            List of shipping addresses associated with profile.
 - 
            shippingAddress(optional): 
            object  shippingAddress
            
            Default shipping address of the profile
 
Nested Schema : billingAddress
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectDefault billing address of the profile
    
    
    
    
        Show Source
        - 
            address1(optional): 
            string
            the address1 of the billing address
 - 
            address2(optional): 
            string
            the address2 of the billing address
 - 
            city(optional): 
            string
            the city of the billing address
 - 
            country(optional): 
            string
            the country of the billing address
 - 
            county(optional): 
            string
            the county of the billing address
 - 
            externalAddressId(optional): 
            string
            External address id
 - 
            firstName(optional): 
            string
            the first name of the billing address
 - 
            lastName(optional): 
            string
            the last name of the billing address
 - 
            phoneNumber(optional): 
            string
            the phone Number of the billing address
 - 
            postalCode(optional): 
            string
            the postal Code of the billing address
 - 
            repositoryId(optional): 
            string
            the id of the billing address
 - 
            state(optional): 
            string
            the state of the billing address
 - 
            types(optional): 
            array  types
            
            The types tagged to the address
 
Nested Schema : secondaryAddresses
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayList of shipping addresses associated with profile.
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
Nested Schema : shippingAddress
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectDefault shipping address of the profile
    
    
    
    
        Show Source
        - 
            address1(optional): 
            string
            the address1 of the shipping address
 - 
            address2(optional): 
            string
            the address2 of the shipping address
 - 
            city(optional): 
            string
            the city of the shipping address
 - 
            country(optional): 
            string
            the country of the shipping address
 - 
            county(optional): 
            string
            the county of the shipping address
 - 
            externalAddressId(optional): 
            string
            External address id
 - 
            firstName(optional): 
            string
            the first name of the shipping address
 - 
            lastName(optional): 
            string
            the last name of the shipping address
 - 
            phoneNumber(optional): 
            string
            the phone Number of the shipping address
 - 
            postalCode(optional): 
            string
            the postal Code of the shipping address
 - 
            repositoryId(optional): 
            string
            the id of the shipping address
 - 
            state(optional): 
            string
            the state of the shipping address
 - 
            types(optional): 
            array  types
            
            The types tagged to the address
 
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            displayName(optional): 
            string
            The name of the address type
 - 
            id(optional): 
            string
            repository Id of the address type
 - 
            repositoryId(optional): 
            string
            repository Id of the address type
 
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            address1(optional): 
            string
            the address1 of the shipping address
 - 
            address2(optional): 
            string
            the address2 of the shipping address
 - 
            city(optional): 
            string
            the city of the shipping address
 - 
            country(optional): 
            string
            the country of the shipping address
 - 
            county(optional): 
            string
            the county of the shipping address
 - 
            externalAddressId(optional): 
            string
            External address id
 - 
            firstName(optional): 
            string
            the first name of the shipping address
 - 
            lastName(optional): 
            string
            the last name of the shipping address
 - 
            phoneNumber(optional): 
            string
            the phone Number of the shipping address
 - 
            postalCode(optional): 
            string
            the postal Code of the shipping address
 - 
            repositoryId(optional): 
            string
            the id of the shipping address
 - 
            state(optional): 
            string
            the state of the shipping address
 - 
            types(optional): 
            array  types
            
            The types tagged to the address
 
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            displayName(optional): 
            string
            The name of the address type
 - 
            id(optional): 
            string
            repository Id of the address type
 - 
            repositoryId(optional): 
            string
            repository Id of the address type
 
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            displayName(optional): 
            string
            The name of the address type
 - 
            id(optional): 
            string
            repository Id of the address type
 - 
            repositoryId(optional): 
            string
            repository Id of the address type
 
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            id(optional): 
            string
            repository Id of the address type
 
Nested Schema : profile_shippingAddress_response
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectShipping address associated with the profile
    
    
    
    
        Show Source
        - 
            address1(optional): 
            string
            The address1 of the shipping address
 - 
            address2(optional): 
            string
            The address2 of the shipping address
 - 
            address3(optional): 
            string
            The address3 of the shipping address
 - 
            city(optional): 
            string
            The city of the shipping address
 - 
            country(optional): 
            string
            The country of the shipping address
 - 
            county(optional): 
            string
            The county of the shipping address
 - 
            externalAddressId(optional): 
            string
            External address id
 - 
            firstName(optional): 
            string
            The first name of the shipping address
 - 
            lastName(optional): 
            string
            The last name of the shipping address
 - 
            phoneNumber(optional): 
            string
            The phone Number of the shipping address
 - 
            postalCode(optional): 
            string
            The postal Code of the shipping address
 - 
            repositoryId(optional): 
            string
            The id of the shipping address
 - 
            state(optional): 
            string
            The state of the shipping address
 - 
            types(optional): 
            array  types
            
            The types tagged to the address
 
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            id(optional): 
            string
            repository Id of the address type
 
Example Response (application/json)
                    {
    "profileDetail":{
        "lastName":"Butt",
        "GDPRProfileP13nConsentDate":"2018-03-21T13:10:08.463Z",
        "customerContactId":"CRMID_12345",
        "GDPRProfileP13nConsentGranted":true,
        "catalog":{
            "repositoryId":"cloudLakeCatalog"
        },
        "dynamicProperties":[
            {
                "id":"dynamicPropertyMaritalStatus",
                "label":"Marital Status",
                "type":"string",
                "value":"Single"
            }
        ],
        "contactBillingAddress":{
            "lastName":"Anderson",
            "firstName":"Kim",
            "country":"US",
            "externalAddressId":"EXT_ADDR_1",
            "phoneNumber":"212-555-2150",
            "address2":null,
            "city":"Buffalo",
            "address1":"451 Brooks Ave",
            "postalCode":"14201",
            "county":null,
            "repositoryId":"se-990031",
            "state":"NY"
        },
        "receiveEmail":"yes",
        "dateOfBirth":"2001-11-14T00:00:00.000Z",
        "secondaryAddresses":{
            "Work":{
                "lastName":"Anderson",
                "firstName":"Kim",
                "country":"US",
                "externalAddressId":"EXT_ADDR_1",
                "phoneNumber":"212-555-2150",
                "address2":null,
                "city":"Buffalo",
                "address1":"451 Brooks Ave",
                "postalCode":"14201",
                "county":null,
                "repositoryId":"se-970031",
                "state":"NY"
            },
            "Mom' s house":{
                "lastName":"Anderson",
                "firstName":"Dolores",
                "country":"US",
                "externalAddressId":"EXT_ADDR_1",
                "phoneNumber":"212-555-4321",
                "address2":null,
                "city":"Dewitt",
                "address1":"41 Wexford Rd ",
                "postalCode":"13214",
                "county":null,
                "repositoryId":"se-140010",
                "state":"NY"
            },
            "Home":{
                "lastName":"dd",
                "firstName":"sdf",
                "country":"US",
                "externalAddressId":"EXT_ADDR_1",
                "phoneNumber":"1231231231",
                "address2":"f",
                "city":"f",
                "address1":"dd",
                "postalCode":"36123",
                "county":null,
                "repositoryId":"se-980031",
                "state":"AL"
            }
        },
        "locale":"en_US",
        "contactShippingAddress":{
            "lastName":"dd",
            "firstName":"sdf",
            "country":"US",
            "externalAddressId":"EXT_ADDR_1",
            "phoneNumber":"1231231231",
            "address2":"f",
            "city":"f",
            "address1":"dd",
            "postalCode":"36123",
            "county":null,
            "repositoryId":"se-980031",
            "state":"AL"
        },
        "parentOrganization":{
            "name":"Oracle India Pvt Ltd",
            "repositoryId":"oracle",
            "punchoutUserId":"100012",
            "id":"oracle"
        },
        "receiveEmailDate":"2018-03-21T13:10:08.463Z",
        "firstName":"James",
        "profileType":"b2b_user",
        "loyaltyPrograms":[
            {
                "programName":"XTRAREWARDS",
                "membershipId":"abc123",
                "programId":"prog1",
                "status":"Enrolled"
            },
            {
                "programName":"XTRAREWARDS",
                "membershipId":"xyz123",
                "programId":"prog2",
                "status":"RequestForEnrollment"
            }
        ],
        "repositoryId":"120099",
        "shippingAddress":{
            "lastName":"Butt",
            "firstName":"James",
            "country":"United States",
            "externalAddressId":"EXT_ADDR_1",
            "phoneNumber":"504-845-1427",
            "address2":"",
            "city":"New Orleans",
            "address1":"6649 N Blue Gum St",
            "postalCode":"70116",
            "county":"Orleans",
            "repositoryId":"140010",
            "state":"Los Angeles"
        },
        "id":"120099",
        "email":"jbutt@example.com",
        "daytimeTelephoneNumber":"",
        "shippingAddresses":[
            {
                "lastName":"Anderson",
                "country":"United States",
                "address3":"",
                "address2":"",
                "city":"Syracuse",
                "prefix":"",
                "address1":"21 Cedar Ave",
                "postalCode":"13202",
                "jobTitle":"",
                "companyName":"",
                "county":"",
                "isDefaultAddress":false,
                "suffix":"",
                "selectedCountry":"US",
                "firstName":"Kim",
                "externalAddressId":"EXT_ADDR_1",
                "phoneNumber":"212-555-1977",
                "faxNumber":"",
                "middleName":"",
                "state":"New York",
                "selectedState":"NY",
                "state_ISOCode":"US-NY"
            },
            {
                "lastName":"Butt",
                "country":"United States",
                "address3":"",
                "address2":"",
                "city":"New Orleans",
                "prefix":"",
                "address1":"6649 N Blue Gum St",
                "postalCode":"70116",
                "jobTitle":"",
                "companyName":"",
                "county":"Orleans",
                "isDefaultAddress":true,
                "suffix":"",
                "selectedCountry":"US",
                "firstName":"James",
                "externalAddressId":"EXT_ADDR_1",
                "phoneNumber":"504-845-1427",
                "faxNumber":"",
                "middleName":"",
                "state":"Los Angeles",
                "selectedState":"LA",
                "state_ISOCode":"US-LA"
            }
        ]
    },
    "profileComments":[
        {
            "repositoryId":"100002",
            "comment":"Item not received.",
            "creationDate":"2014-06-25 01:50:28.0"
        },
        {
            "repositoryId":"100001",
            "comment":"Issue with shipping address.",
            "creationDate":"2014-06-25 01:50:20.0"
        }
    ],
    "hasIncompleteOrder":false
}
                    
                    Default Response
The error response.
 The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud:
|Error Code|Description|
|------------------|------------------|
|100094|Organization passed in the header is currently inactive|
|100098|Current operation is being performed in an organization context and the shopper profile is not associated to any organization|
|22000|Profile Id passed is null or empty.|
|22001|Internal error occurred while processing the request.|
|100101|The shopper profile does not belong to organization passed in the header|
|200006|Profile comment retrieval failed.|
|22002|No profile found with profile id|
|100102|Organization passed in the header is invalid or does not exist|
|200016|Internal error occurred while processing the profile orders request.|
                
                
                    Root Schema : errorModel
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            devMessage(optional): 
            string
            An optional non-localized message containing technical information for developers
 - 
            errorCode(optional): 
            string
            The numerical code identifying the error
 - 
            errors(optional): 
            array  errors
            
            An optional list of errors if multiple errors were encountered
 - 
            message(optional): 
            string
            The localized message describing the error
 - 
            moreInfo(optional): 
            string
            An optional non-localized message with more information
 - 
            o:errorPath(optional): 
            string
            An optional machine readable description of where the error occurred
 - 
            status(optional): 
            string
            The HTTP status code
 - 
            type(optional): 
            string
            The URI to the HTTP state code definition
 
Nested Schema : errors
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayAn optional list of errors if multiple errors were encountered
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            devMessage(optional): 
            string
            An optional non-localized message containing technical information for developers
 - 
            errorCode(optional): 
            string
            The numerical code identifying the error
 - 
            message(optional): 
            string
            The localized message describing the error
 - 
            moreInfo(optional): 
            string
            An optional non-localized message with more information
 - 
            o:errorPath(optional): 
            string
            An optional machine readable description of where the error occurred
 - 
            status(optional): 
            string
            The HTTP status code