Get Win-Back
Win-Back’s settings as data. meta.figures is the period’s four figures: the revenue it won back (and the period before’s), subscribers and the share of buyers asked who said yes, the share of buyers emailed who came back, and the emails sent with how many buyers clicked and unsubscribed. meta.set is false where the store has never set it up, meta.asking whether the checkout asks buyers for leave, meta.sendable whether the store can send email at all, meta.audiences the tags it may be narrowed to, and meta.choices what each setting may take.
Needs the marketing.read permission (Read Email Marketing).
Authorizations
A secret API key, made under Developers in the dashboard: Authorization: Bearer shoply_sk_...
Path Parameters
The store's ID. A key reaches the store it was made in: GET /key answers which.
Query Parameters
The period.
today, yesterday, 7d, 30d, this_week, last_week, this_month, last_month, this_year The first day of a period of your own, as YYYY-MM-DD. With to, in place of range.
Its last day, as YYYY-MM-DD.
The time zone those days are in, as an IANA name. Left out, UTC.
"Europe/Berlin"

