• Create a newsletter

    Parameters

    • name: string
    • opts: {
          description?: string;
          picture?: string;
      }
      • Optionaldescription?: string
      • Optionalpicture?: string

    Returns Promise<ResultCreateNewsletter>

    // To edit name
    WPP.newsletter.create('Name for your newsletter', {
    description: 'Description for that',
    picture: '<base64_string',
    });