Optional
description?: stringOptional
name?: stringOptional
picture?: string// To edit name
const code = WPP.newsletter.edit('[newsletter-id]@newsletter', {
name: 'New Name'
});
// To edit description
const code = WPP.newsletter.edit('[newsletter-id]@newsletter', {
description: 'New description'
});
// To change picture
const code = WPP.newsletter.edit('[newsletter-id]@newsletter', {
picture: '<base64_image>'
});
// To remove picture
const code = WPP.newsletter.edit('[newsletter-id]@newsletter', {
picture: null
});
Edit the newsletter data