createEmailConfigs

post

/ccstore/v1/shareSettings/{id}/createEmailConfigs

Create Email Configs for a given Share Setting. This operation is used to create email configs the provided share setting. Each email must be unique to the share setting for which it is being created.

Request

Supported Media Types
Path Parameters
Body ()
Root Schema : createEmailConfigs_request
Type: object
Show Source
Example:
{
    "emailConfigs":[
        {
            "editEnabled":true,
            "email":"newman@example.com"
        }
    ]
}
Nested Schema : emailConfigs
Type: array
Email configurations to be created.
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 : createEmailConfigs_response
Type: object
Show Source
Nested Schema : emailConfigs
Type: array
Created Email configurations.
Show Source
Nested Schema : items
Type: object
Show Source
Example Response (application/json)
{
    "emailConfigs":[
        {
            "id":"100001"
        }
    ]
}

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| |------------------|------------------| |00001000|The user is not authenticated.| |64505|Share setting does not exist or you do not have access to it.| |64513|"emailConfig" is required Property. Either "emailConfig" is not provided or is empty.| |23006|Invalid email address specified.| |64514|You already have an Email Config for email a@a.a.|
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