sendEmailNotification

post

/ccadmin/v1/emailNotifications

Send Email Notification. Creates a new outbound email notification.

Request

Supported Media Types
Body ()
Root Schema : sendEmailNotification_request
Type: object
Show Source
Example:
{
    "postContent":"SureShot Camera XYZ",
    "postProductImageUrl":"https://shope.example.com/products/productImage.png",
    "wishListDisplayName":"Jane''s Wish List",
    "postCreatorProfileImageURL":"https://shope.example.com/profiles/fredImage.png",
    "wishListId":"abcdefg",
    "wishListOwnerFirstName":"Jane",
    "messageDetails":{
        "notificationType":"wishlist_new_post_v1",
        "locale":"en-US",
        "toEmail":"member@example.com"
    },
    "wishListOwnerProfileImageURL":"https://shope.example.com/profiles/janeImage.png",
    "storeFrontHostName":"https://shope.example.com",
    "organization":{
        "name":"Jane''s Organization",
        "logoUrl":"https://shope.example.com/org/JanesOrgLogo.png"
    },
    "recipientFullName":"Member User",
    "recipientEmailAddress":"member@example.com",
    "postCreatorFirstName":"Fred",
    "productPrice":"$65.00",
    "wishListOwnerLastName":"Doe",
    "postCreatorLastName":"Shawpper"
}
Nested Schema : (other object properties)
Type: object
(message notification type specific properties)
Nested Schema : messageDetails
Type: array
Email recipient / language info.
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 : sendEmailNotification_response
Show Source

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