Update confirmation settings
/ 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_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
enabledbooleanrequiredmin_total_amountintegerrequiredOnly orders from this total, in store minor units; 0: every COD order.
skip_verified_phonebooleanrequiredOrders whose phone was verified with a code at checkout are confirmed at once.
remind_after_hoursintegerrequiredOne reminder this many hours after the request; 0: none. 0–72.
cancel_after_hoursintegerrequiredCancel unconfirmed orders this many hours after the request; 0: never. 0–336.
cancel_after_callsintegerrequiredCancel after this many unanswered calls; 0: never. 0–10.
retry_after_minutesintegerrequiredAn unanswered call makes the order due again this many minutes later. 5–1440.
remind_outside_quiet_hoursbooleanHold 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
- 403
forbiddenMissing permission. - 412
precondition_failedThe settings changed since they were read. - 422
validation_failedA value out of range.