Dear Marketo community,
We want to update email content sections (https://developers.marketo.com/rest-api/endpoint-reference/asset-endpoint-reference/#!/Emails/update...) and then send a sample email.
However, just using the aforementioned API alone does not cause any immediate update to the email asset, as verified on the Marketo email editor and in the sample email (which shows the old content).
We found out that approving the email draft helps make the update immediate. However, when we want to update (and approve), send sample email, and update again (and approve), and send sample email again, the subsequent updates are not immediate.
It is only after a couple of minutes that we can do another immediate update.
May I know how the update and approve API works? Are they both async? What happened to the subsequent update API calls? Are they queued or are they simply ignored?
Thank you!
Regards,
Jiayee
Solved! Go to Solution.
Hello @jiayee ,
Thank you
Hello @jiayee ,
Thank you
Hello @Oz_Platero,
Yes, the API requests were successful so I couldn't understand why the updates were not returning upon subsequent queries. Now, I understand, since "Send sample" is not "Send sample as draft".
After trying out your suggestion (un-approve, update, then approve), it works!
Thank you, Oz!