PHP wrapper for Ecomail API
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