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
Example:
{
    "relatedOrganizationName":null,
    "organization":{
        "customerType":"Standard",
        "taxReferenceNumber":"TAXUQ12345",
        "name":"Oracle",
        "description":"Some description",
        "externalOrganizationId":"EXT_ORG_1",
        "type":"none",
        "vatReferenceNumber":"Vat123123",
        "dunsNumber":"123456789",
        "uniqueId":"TestIDNumber"
    },
    "profile":{
        "firstName":"First name",
        "lastName":"last name",
        "customerContactId":"CRMID_1",
        "email":"user@example.com"
    },
    "name":"Sample org",
    "requesterComments":"Some comments"
}
Nested Schema : organization
Type: object
Organization
Show Source
Nested Schema : profile
Type: object
Profile
Show Source
Nested Schema : secondaryAddresses
Type: array
Addresses for Organization
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : address
Type: object
Address created for the Organization.
Show Source
Nested Schema : types
Type: array
The types of the address
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 : 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