ecomailcz/ecomail

Ecomail.cz API Wrapper

v1.2.7 2023-08-29 08:18 UTC

This package is auto-updated.

Last update: 2024-10-29 10:44:08 UTC


README

Build Status Downloads this Month

Instalation

composer require ecomailcz/ecomail

Usage

$ecomail = new Ecomail('API_KEY');
$ecomail->getListsCollection();

When there are more results, you will get last_page parameter in your response, which you can then use in another request.

$ecomail->page(2)->getListsCollection();

You will find your API key in your account in "integrations" section.

Available methods

All methods returns: array stdClass string

For more detailed documentation please visit: https://ecomailczv2.docs.apiary.io/

List and Subscriber Management

getListsCollection

addListCollection

showList

updateList

getSubscribers

getSubscriber

getSubscriberList

addSubscriber

removeSubscriber

updateSubscriber

addSubscriberBulk

deleteSubscriber

getSubscriberByEmail

Campaigns

listCampaigns

addCampaign

updateCampaign

sendCampaign

getCampaignStats

getCampaignStatsDetail

Automation

listAutomations

triggerAutomation

getPipelineStats

getPipelineStatsDetail

Templates

createTemplate

Domains

listDomains

createDomain

deleteDomain

Transactional Emails

sendTransactionalEmail

sendTransactionalTemplate

getTransactionalStats

getTransactionalStatsDOI

Transactions

createNewTransaction

createBulkTransactions

updateTransaction

deleteTransaction

Feeds

refreshProductFeed

refreshDataFeed

Tracker

addEvent

Search

search

Discount Coupons

importCoupons

deleteCoupons