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
Example Response (application/json)
{
    "links":[
        {
            "rel":"self",
            "href":"http://localhost:8080/ccstoreui/v1/profileRequests"
        }
    ],
    "id":"100001"
}

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