Improvements
Customer and business objects now support metadata. API users can post
arbitrary JSON data to the metadata
field on POST /businesses
,
POST /businesses/:id
, POST /businesses/:id/customers
and
POST /customers/:id
. The metadata
is returned in the relevant GET
endpoints and can be accessed in email and SMS templates
Email template embeds
iframe
. Use the window.postMessage
API to send a message to the
iframe
, example below:
const iframe = document.getElementsByTagName("iframe")[0];
iframe.contentWindow.postMessage(
{ pocketflows: true, action: "save" },
"*",
);
?hide_top_bar=true
to the GET /email_template_embeds/:id/show
endpointCampaigns now return sending statistics. See how many customers are
currently enrolled in the campaign and their status within the campaign. See
the statistics
field on the Campaign
object
here
© Pocketflows