createMultipleProfileRequests

post

/ccstore/v1/profileRequests/createMultiple

Creates multiple profile requests. This operation is used to create multiple profile requests at a time in Oracle Commerce Cloud for a customer.

Request

Supported Media Types
Body ()
Root Schema : createMultipleProfileRequests_request
Type: object
Show Source
Example:
{
    "requestedOrganizations":[
        {
            "name":"Oracle"
        },
        {
            "id":"or-100001"
        }
    ],
    "profile":{
        "firstName":"First name",
        "lastName":"last name",
        "email":"user@temp.com"
    },
    "requesterComments":"Some comments"
}
Nested Schema : profile
Type: object
Profile
Show Source
Nested Schema : requestedOrganizations
Type: array
Requested Organizations
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : createMultipleProfileRequests_response
Type: object
Show Source
Nested Schema : id
Type: array
Ids of Profile Request
Show Source
Nested Schema : items
Type: object
Show Source
Example Response (application/json)
{
    "links":[
        {
            "rel":"self",
            "href":"http://localhost:8080/ccstoreui/v1/profileRequests/createMultiple"
        }
    ],
    "id":[
        "100002",
        "100003"
    ]
}

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