updateEmailTemplates

put

/ccadmin/v1/email/types/{emailTypeId}/templates

Update Email Templates. Updates templates for an email type from previously uploaded zip file.

Request

Supported Media Types
Path Parameters
Body ()
Root Schema : updateEmailTemplates_request
Type: object
Show Source
  • Path to previously uploaded zip file containing email templates to apply for the specified email type.
Example:
{
    "filename":"notifications/uploads/abandoned_order_v1.zip"
}
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : updateEmailTemplates_response
Type: object
Show Source
Nested Schema : errors
Type: array
Errors reported for the update.
Show Source
Nested Schema : warnings
Type: array
Warnings reported for the update.
Show Source
Example Response (application/json)
{
    "success":true,
    "displayName":"Abandoned Cart",
    "warnings":[
        "Locale 'sh' referenced in 'locales/sh/Strings.xlf' is not a supported locale. This folder and its contents will not be uploaded."
    ],
    "links":[
        {
            "rel":"self",
            "href":"http://slc01ghw.us.oracle.com:9080/ccadminui/v1/email/types/abandoned_order_v1/templates"
        }
    ],
    "errors":[
    ]
}

Default Response

The error response
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