لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.
Log a call that didn't decide the order
POST
/ admin/ v1/ stores/ {store_id}/ order-confirmations/ {order_id}/ calls- orders:confirm
- orders:write
- يدعم Idempotency-Key
Log a call that didn't decide the order: no answer, busy, wrong number, or call back at a time.
معاملات المسار
store_idstringمطلوبمعرّف من نوع
store، مثلstore_01k8qs5s…. يصل إلى التطبيق مع التثبيت، في رابط OAuth وفي رد رمز الوصول.order_idstringمطلوبمعرّف من نوع
ord، مثلord_01k8qs5s….
الترويسات
Idempotency-Keystringأرسل المفتاح نفسه لإعادة المحاولة بأمان: تُعاد الإجابة الأولى لمدة ٢٤ ساعة.
shop-api-versionYYYY-MMالإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.
الجسم
outcomeenumمطلوبWhat a call came to, short of a decision.
- no_answer
- busy
- wrong_number
- call_back
call_back_attimestamp · أو nullFor
call_back: when, within two weeks.notestring · أو null
ما يُرجعه
200 The order.
الأخطاء
- 403
forbiddenMissing permission. - 404
not_foundThe order never needed confirming. - 409Already confirmed or cancelled.
- 422
validation_failedA call-back time outside the next two weeks.