createOrganizationRequest

post

/ccstore/v1/organizationRequests

Creates organization request. This operation is used to create organization request in Oracle Commerce Cloud for a customer.

Request

Supported Media Types
Body ()
Root Schema : createOrganizationRequest_request
Type: object
Show Source
Nested Schema : organizationRequest
Type: object
Show Source
Nested Schema : organization
Type: object
Organization
Show Source
Nested Schema : profile
Type: object
Profile
Show Source
Nested Schema : secondaryAddresses
Type: array
Address associated with an Organization request, this is the address provided by the requestor at the time of request creation. This property will be removed from the webhook request payload if the size exceeds the sub entity truncation size value configured for this webhook
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : address
Type: object
Address created for the Organization.
Show Source
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : createOrganizationRequest_response
Type: object
Show Source
  • Id of Organization 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/organizationRequests"
        }
    ],
    "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| |------------------|------------------| |101013|Registration request cannot be processed because the ability to submit registration requests for business accounts is disabled.| |101015|There was a problem creating your account. Please try again.| |00004|Data value too long.| |101001|Invalid Input for organization request.| |180104|Invalid address type ID {0}| |
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