generates the authorization code for an Organization

post

/ccadmin/v1/organizations/{id}/authorizationCode

Generates the authorization code. This endpoint is used to generate the authorization code for an Organization in Oracle Commerce Cloud.

Request

Supported Media Types
Path Parameters
Header Parameters
Body ()
Root Schema : generateAuthorizationCode_request
Show Source
Example:
POST /ccadmin/v1/organizations/{id}/authorizationCode
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : generateAuthorizationCode_response
Type: object
Show Source
Example Response (application/json)
{
    "authorizationCode":"b3ItMTAwMDAxLTIwMTgtMDQtMDJUMDc6NTM6MjguMTM0Wg==",
    "links":[
        {
            "rel":"self",
            "href":"http://localhost:9080/ccadminui/v1/organizations/or-100001/authorizationCode"
        }
    ]
}

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| |------------------|------------------| |100129|If there is an issue while generating the authorization code| |100130|If there an issue while saving the generated authorization code|
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