createMember

post

/ccstore/v1/organizationMembers

Create Member. This operation is used to create a profile in Oracle Commerce Cloud for a customer. Optionally takes the x-ccasset-language headers to get translated content in another language. Also it can have optional X-CCOrganization header which is a JSON field to specify current Organization id of logged in user.

Request

Supported Media Types
Header Parameters
Body ()
Root Schema : createMember_request
Type: object
Show Source
Example:
{
    "firstName":"Leota",
    "lastName":"Dilliard",
    "GDPRProfileP13nConsentGranted":true,
    "dynamicProperty1":"dynamicPropertyValue",
    "roles":[
        {
            "function":"admin"
        },
        {
            "function":"buyer"
        }
    ],
    "active":true,
    "receiveEmail":"yes",
    "email":"leota@example.com"
}
Nested Schema : dynamicProperty
Type: object
Dynamic property name and value.
Nested Schema : roles
Type: array
List of roles need to associate with the user
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 : createMember_response
Type: object
Show Source
Example Response (application/json)
{
    "id":"110026"
}

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| |------------------|------------------| |22003|If the email passed is null or empty| |22004|If there was any internal error while creating the profile|
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