updateProfileRequest

put

/ccadmin/v1/profileRequests/{id}

Update Profile request. This operation is used to update Profile request in Oracle Commerce Cloud for a customer.

Request

Supported Media Types
Path Parameters
Query Parameters
  • Expand query param : currently used to expand profile and request Info.(Allowed Values: profile - profile static data, profileAll - profile static & dynamic data, requestAll - profileRequest static & dynamic data).
Body ()
Root Schema : updateProfileRequest_request
Type: object
Show Source
Example:
{
    "requestedOrganizationName":"Sample org",
    "organization":{
        "id":"or-100001"
    },
    "profile":{
        "firstName":"First name",
        "lastName":"last name",
        "customerContactId":"CRMID_1",
        "email":"user@temp.com"
    },
    "requestedOrganizationID":null,
    "requesterComments":"Some comments",
    "status":"review"
}
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 : updateProfileRequest_response
Type: object
Show Source
Nested Schema : organization
Type: object
Organization
Show Source
Nested Schema : profile
Type: object
Profile
Show Source
Example Response (application/json)
{
    "approverComments":null,
    "requestedOrganizationName":null,
    "profile":{
        "id":"100001"
    },
    "organization":{
        "id":"150002"
    },
    "siteId":"siteUS",
    "requestedOrganizationID":null,
    "id":"100001",
    "requesterComments":"None",
    "status":"review"
}

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| |------------------|------------------| |102000|Invalid Profile Request ID.| |10001|Organization ID is required.| |00004|Data value too long.| |101008|This operation is not allowed as registration request is already in approved/rejected state.| |101007|Invalid status for registration request. Allowed status are [review, moreInfoNeeded]| |100018|If there was any internal error while updating the Organization| |101014|Cannot update the status of this registration request to any value except "Rejected", because the requester's profile no longer exists| |101017|This operation is not allowed as requester's profile no longer exists.
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