createProfileRequest
post
                    /ccstore/v1/profileRequests
Creates profile request. This operation is used to create profile request in Oracle Commerce Cloud for a customer.
                Request
Supported Media Types
                - application/json
 
Nested Schema : profileRequest
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            createdTime(optional): 
            string(date-time)
            The date profile request was created
 - 
            id(optional): 
            string
            Id of Profile Request
 - 
            lastModifiedTime(optional): 
            string(date-time)
            The date profile request was modified
 - 
            organization(optional): 
            object  organization
            
            Organization
 - 
            profile(optional): 
            object  profile
            
            Profile
 - 
            requestedOrganizationId(optional): 
            string
            Requested Organization ID given by requester
 - 
            requestedOrganizationName(optional): 
            string
            Requested Organization name given by the requester
 - 
            requesterComments(optional): 
            string
            Requester comments given at time of creating request
 - 
            siteId(optional): 
            string
            Site captured during request creation
 - 
            status(optional): 
            string
            Status of Profile Request
 
Nested Schema : organization
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectOrganization
    
    
    
    
        Show Source
        - 
            id(optional): 
            string
            Repository Id of the Organization
 
Nested Schema : profile
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectProfile
    
    
    
    
        Show Source
        - 
            customerContactId(optional): 
            string
            The external customer contact id.
 - 
            email(optional): 
            string
            Email id of the profile
 - 
            firstName(optional): 
            string
            first name of the profile
 - 
            GDPRProfileP13nConsentDate(optional): 
            string
            The date on which GDPR personalization consent is granted for the profile.
 - 
            GDPRProfileP13nConsentGranted(optional): 
            boolean
            This is GDPR profile personalization consent flag. can be true or false.
 - 
            id(optional): 
            string
            Repository Id of the profile
 - 
            lastName(optional): 
            string
            Last name of the profile
 - 
            numberOfVisits(optional): 
            integer
            Number of visits related to profile
 - 
            profileType(optional): 
            string
            Type of profile. It can be 'b2c_user', 'b2b_user' or 'b2b_user_pending'
 - 
            receiveEmailDate(optional): 
            string
            The date on which email marketing consent is granted for the profile.
 
Response
Supported Media Types
                - application/json
 
200 Response
Following model is returned when operation succeeds.
                
                
                    Root Schema : createProfileRequest_response
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            id(optional): 
            string
            Id of Profile Request. This will be removed when enableProfileRegistrationEmailCheck site setting is enabled.
 - 
            message(optional): 
            string
            A descriptive message indicating profile creation will be displayed when enableProfileRegistrationEmailCheck site setting is enabled.
 
Example Response (application/json)
                    {
    "links":[
        {
            "rel":"self",
            "href":"http://localhost:8080/ccstoreui/v1/profileRequests"
        }
    ],
    "message":"Once registration has successfully completed, you'll receive account activation details in your registration email's inbox."
}
                    
                    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|
|------------------|------------------|
|101015|An existing B2C shopper cannot submit a registration request.|
|00004|Data value too long.|
|101001|Invalid Input for registration 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