Skip to content

Update confirmation settings

PUT/admin/v1/stores/{store_id}/order-confirmation-settings
  • settings:write

Replace the desk's settings. 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
  • min_total_amountintegerrequired

    Only orders from this total, in store minor units; 0: every COD order.

  • skip_verified_phonebooleanrequired

    Orders whose phone was verified with a code at checkout are confirmed at once.

  • remind_after_hoursintegerrequired

    One reminder this many hours after the request; 0: none. 0–72.

  • cancel_after_hoursintegerrequired

    Cancel unconfirmed orders this many hours after the request; 0: never. 0–336.

  • cancel_after_callsintegerrequired

    Cancel after this many unanswered calls; 0: never. 0–10.

  • retry_after_minutesintegerrequired

    An unanswered call makes the order due again this many minutes later. 5–1440.

  • remind_outside_quiet_hoursboolean

    Hold the reminder while the store's quiet hours (its marketing send rules) are on, until they end. The store's choice, off by default; the first request never waits.

Returns

200 The settings.

Errors

  • 403forbiddenMissing permission.
  • 412precondition_failedThe settings changed since they were read.
  • 422validation_failedA value out of range.