Closed remstone7 closed 5 years ago
It appears we don't get customers who subscriber as a guest as the hooks don't fire. this is to expose 2 api endpoints to be able to query this data.
Endpoints:
@param mixed $start @param mixed $until @param mixed $store_id
/V1/klaviyo/reclaim/customers/subscriptions/periodic Ex
rest/V1/klaviyo/reclaim/customers/subscriptions/periodic?start=2019-04-25%20:00:00&until=2019-04-25%2018:00:00:00
@param mixed $start_id @param mixed $end_id @param mixed $store_id
/V1/klaviyo/reclaim/customers/subscriptions/historical
http://magento2.local:8888/rest/V1/klaviyo/reclaim/customers/subscriptions/historical?start_id=1&end_id=10
I dont get the naming convention you use, periodic vs historical? Why not just call it getSubscribedsById and getSubscribersByDateRange?
It appears we don't get customers who subscriber as a guest as the hooks don't fire. this is to expose 2 api endpoints to be able to query this data.
Endpoints:
/V1/klaviyo/reclaim/customers/subscriptions/periodic Ex
/V1/klaviyo/reclaim/customers/subscriptions/historical