لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.
Next confirmation
POST
/ admin/ v1/ stores/ {store_id}/ order-confirmations/ next- orders:confirm
- orders:write
- يدعم Idempotency-Key
Take the next due order and hold it for 10 minutes, so no other agent calls the same customer. 204 when nothing is due. , as staff.
معاملات المسار
store_idstringمطلوبمعرّف من نوع
store، مثلstore_01k8qs5s…. يصل إلى التطبيق مع التثبيت، في رابط OAuth وفي رد رمز الوصول.
الترويسات
Idempotency-Keystringأرسل المفتاح نفسه لإعادة المحاولة بأمان: تُعاد الإجابة الأولى لمدة ٢٤ ساعة.
shop-api-versionYYYY-MMالإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.
ما يُرجعه
200 The order to call.
الأخطاء
- 403
forbiddenMissing permission, or not a member of staff.