Change Cart Recovery
Changes the settings named and keeps the rest. Switching it on writes to nobody who left a checkout before: only checkouts started after it was switched on are followed. The first email goes out a while after the buyer left, or in its place the declined card email after a card was turned down; the second, later, carries a coupon made for that buyer, good for 48 hours. An empty subject is the email’s own.
Needs the recovery.write permission (Change Cart Recovery).
Authorizations
A secret API key, made under Developers in the dashboard: Authorization: Bearer shoply_sk_...
Headers
A word of your own for this one change, up to 180 letters, digits, dots, dashes, underscores and colons. Sent again with the same key, the request is not carried out twice: the first answer comes back, with Idempotent-Replay: true.
Path Parameters
The store's ID. A key reaches the store it was made in: GET /key answers which.
Body
Whether Cart Recovery writes to buyers at all.
Whether the first email is sent.
Minutes after the buyer left. One of 30, 60, 120, 240.
60
Its subject, up to 150 characters.
Whether the declined card email takes the first one's place after a card was turned down.
Minutes after the decline. One of 5, 15, 30, 60.
15
Its subject, up to 150 characters.
Whether the second email is sent.
Minutes after the buyer left. One of 720, 1200, 1440, 2880.
1200
Its subject, up to 150 characters.
The percent off its coupon. One of 0, 5, 10, 15, 20, 25. 0 sends it with no coupon.
10

