ecomailcz/ecomail

Ecomail.cz API 包装器

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

This package is auto-updated.

Last update: 2024-08-29 10:23:37 UTC


README

Build Status Downloads this Month

安装

composer require ecomailcz/ecomail

使用方法

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

当有更多结果时,您的响应中将包含 last_page 参数,您可以在另一个请求中使用此参数。

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

您可以在“集成”部分找到您的API密钥。

可用方法

所有方法返回:array stdClass string

有关更多详细文档,请访问:https://ecomailczv2.docs.apiary.io/

列表和订阅者管理

getListsCollection

addListCollection

showList

updateList

getSubscribers

getSubscriber

getSubscriberList

addSubscriber

removeSubscriber

updateSubscriber

addSubscriberBulk

deleteSubscriber

getSubscriberByEmail

活动

listCampaigns

addCampaign

updateCampaign

sendCampaign

getCampaignStats

getCampaignStatsDetail

自动化

listAutomations

triggerAutomation

getPipelineStats

getPipelineStatsDetail

模板

createTemplate

域名

listDomains

createDomain

deleteDomain

事务性电子邮件

sendTransactionalEmail

sendTransactionalTemplate

getTransactionalStats

getTransactionalStatsDOI

交易

createNewTransaction

createBulkTransactions

updateTransaction

deleteTransaction

数据流

refreshProductFeed

refreshDataFeed

跟踪器

addEvent

搜索

search

折扣优惠券

importCoupons

deleteCoupons