Update recovery settings
PUT
/ admin/ v1/ stores/ {store_id}/ checkout-recoveryReplace the reminder plan. Open checkouts abandoned in the last 7 days follow the new plan. Send If-Match: "v{version}" to avoid overwriting someone else's change.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.
Headers
If-Matchstring · or nullETag from the last read, e.g. "v3"
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
enabledbooleanrequiredaudienceenumrequiredWho gets reminders.
- all
- subscribed
stepsarray of objectsrequiredOne to three reminders, each 30 minutes to 7 days after the cart's last change, later than the one before.
cartobject · or nullThe cart plan; left out, it stays as saved.
Returns
200 The plan.
Errors
- 403
forbiddenMissing permission. - 412
precondition_failedThe plan changed since it was read. - 422
validation_failedInvalid steps.