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
Body ()
Root Schema : createProfileRequest_request
Type: object
Show Source
Nested Schema : profileRequest
Type: object
Show Source
Nested Schema : organization
Type: object
Organization
Show Source
Nested Schema : profile
Type: object
Profile
Show Source
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : createProfileRequest_response
Type: object
Show Source
  • Id of Profile Request. This will be removed when enableProfileRegistrationEmailCheck site setting is enabled.
  • 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.|
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top