getMember
get
                    /ccstore/v1/organizationMembers/{id}
Get Member. This operation is used to get the profile information of a customer that is associated to an account from Oracle Commerce Cloud. Optionally takes the x-ccasset-language headers to get translated content in another language.Also it can have optional X-CCOrganization header which is a JSON field to specify current Organization id of logged in user.
                Request
Supported Media Types
                - application/json
Path Parameters
                - 
                    id: string
                    
                    The ID of the requested shopper profile.
Query Parameters
                - 
                        expand(optional): string
                        
                        This field determines the additional properties to be returned. Possible value for this query parameter is ???accessRights??? to include accessRights of the member.
- 
                        includedRoles(optional): string
                        
                        This field determines if only organizational roles or all roles are to be returned for the member. Default value is 'organizationalRolesForCurrentOrganization'. Possible values are 'organizationalRolesForCurrentOrganization', 'allRolesForCurrentOrganization'.
Header Parameters
                - 
                        X-CCAsset-Language(optional): string
                        
                        The asset language of the request. E.g., en,de,fr_CA.
- 
                        X-CCOrganization(optional): string
                        
                        Current organization context of the logged in user
Response
Supported Media Types
                - application/json
200 Response
Following model is returned when operation succeeds.
                
                
                    Root Schema : getMember_response
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            accessRights(optional): 
            array  accessRights
            
            List of user access rights
- 
            active(optional): 
            boolean
            This is active status of the profile should be true or false.
- 
            customerContactId(optional): 
            string
            The external customer contact id.
- 
            derivedOrderPriceLimit(optional): 
            number
            Its order limit value for the profile, if order limit is more than this value the approval is needed for the order
- 
            email(optional): 
            string
            The email address of the profile.
- 
            firstName(optional): 
            string
            The first name of the profile.
- 
            id(optional): 
            string
            The ID of the shopper profile.
- 
            lastName(optional): 
            string
            The last name of the profile.
- 
            locale(optional): 
            string
            The locale of the request/response.
- 
            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
- 
            profileType(optional): 
            string
            This attribute is added for account-based commerce, It's value is 'b2b_user'.
- 
            receiveEmail(optional): 
            string
            This is an email marketing flag which indicates to notify user by mail or not, can be yes or no.
- 
            repositoryId(optional): 
            string
            The repository id of the profile.
- 
            roles(optional): 
            array  roles
            
            List of user roles
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
            This is active status of the profile 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): 
            object  secondaryAddresses
            
            List of shipping addresses associated with the profile.
- 
            shippingAddress(optional): 
            object  shippingAddress
            
            Default shipping address of the organization
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            displayName(optional): 
            string
            Display name of access right
- 
            name(optional): 
            string
            Name of access right
- 
            repositoryId(optional): 
            string
            Repository ID of access right
- 
            type(optional): 
            string
            Type of access right
Nested Schema : billingAddress
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectDefault billing address of the organization
    
    
    
    
        Show Source
        - 
            repositoryId(optional): 
            string
            the id of the billing address
Nested Schema : secondaryAddresses
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectList of shipping addresses associated with the profile.
    
    
    
    
        Show Source
        - 
            AddressType(optional): 
            object  AddressType
            
            Address type represents nick-name of address.
Nested Schema : shippingAddress
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectDefault shipping address of the organization
    
    
    
    
        Show Source
        - 
            repositoryId(optional): 
            string
            the id of the shipping address
Nested Schema : AddressType
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectAddress type represents nick-name of address.
    
    
    
    
        Show Source
        - 
            repositoryId(optional): 
            string
            Repository ID of the shipping address
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            function(optional): 
            string
            Function of the role. Present only if type is organizationalRole
- 
            id(optional): 
            string
            ID of the role
- 
            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
Example Response (application/json)
                    {
    "lastName":"K",
    "customerContactId":"CRMID_1",
    "derivedOrderPriceLimit":"800",
    "roles":[
        {
            "function":"buyer",
            "relativeTo":{
                "id":"or-100001"
            },
            "repositoryId":"100002",
            "name":"Buyer",
            "id":"100002",
            "type":"organizationalRole"
        }
    ],
    "receiveEmail":"yes",
    "active":"true",
    "parentOrganization":{
        "name":"Oracle",
        "repositoryId":"100001",
        "description":"Oracle Org",
        "active":true,
        "shippingAddress":{
        },
        "secondaryAddresses":{
            "Address1":{
                "repositoryId":"110033"
            }
        },
        "id":"100001",
        "billingAddress":{
        },
        "externalOrganizationId":"EXT_ORG_1"
    },
    "locale":"en",
    "dynamicProperty":"dynamicProperty value",
    "firstName":"bcd",
    "profileType":"b2b_user",
    "repositoryId":"110006",
    "id":"110006",
    "email":"abc@abc.com"
}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|
|------------------|------------------|
|22000|If the profile id passes is null or empty|
|22001|If there was any internal error while getting the profile|
|22002|If there was no profile found with the given id|
|22007|If the profile id passed dosent associate to the logged in user account|
|23044|If an invalid value for includeRoles query parameter is given|
                
                
                    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