Skip to content

Update recovery settings

PUT/admin/v1/stores/{store_id}/checkout-recovery

    Replace 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_idstringrequired

      The store's ID, like store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.

    Headers

    • If-Matchstring · or null

      ETag from the last read, e.g. "v3"

    • shop-api-versionYYYY-MM

      The version to answer in. Without it, your app’s pinned version, else the newest.

    Body

    • enabledbooleanrequired
    • audienceenumrequired

      Who gets reminders.

      • all
      • subscribed
    • stepsarray of objectsrequired

      One to three reminders, each 30 minutes to 7 days after the cart's last change, later than the one before.

    • cartobject · or null

      The cart plan; left out, it stays as saved.

    Returns

    200 The plan.

    Errors

    • 403forbiddenMissing permission.
    • 412precondition_failedThe plan changed since it was read.
    • 422validation_failedInvalid steps.