Skip to content

Ecomailcz/ecomail-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP wrapper for Ecomail API

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