لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.
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.
معاملات المسار
store_idstringمطلوبمعرّف من نوع
store، مثلstore_01k8qs5s…. يصل إلى التطبيق مع التثبيت، في رابط OAuth وفي رد رمز الوصول.
الترويسات
If-Matchstring · أو nullETag from the last read, e.g. "v3"
shop-api-versionYYYY-MMالإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.
الجسم
enabledbooleanمطلوبmin_total_amountintegerمطلوبOnly orders from this total, in store minor units; 0: every COD order.
skip_verified_phonebooleanمطلوبOrders whose phone was verified with a code at checkout are confirmed at once.
remind_after_hoursintegerمطلوبOne reminder this many hours after the request; 0: none. 0–72.
cancel_after_hoursintegerمطلوبCancel unconfirmed orders this many hours after the request; 0: never. 0–336.
cancel_after_callsintegerمطلوبCancel after this many unanswered calls; 0: never. 0–10.
retry_after_minutesintegerمطلوبAn 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.
ما يُرجعه
200 The settings.
الأخطاء
- 403
forbiddenMissing permission. - 412
precondition_failedThe settings changed since they were read. - 422
validation_failedA value out of range.