لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.
Ready for pickup
POST
/ admin/ v1/ stores/ {store_id}/ orders/ {order_id}/ ready-for-pickup- orders:write
- يدعم Idempotency-Key
A pickup order is packed and waiting at the branch: the customer is told where to collect it and when the branch is open.
معاملات المسار
store_idstringمطلوبمعرّف من نوع
store، مثلstore_01k8qs5s…. يصل إلى التطبيق مع التثبيت، في رابط OAuth وفي رد رمز الوصول.order_idstringمطلوبمعرّف من نوع
ord، مثلord_01k8qs5s….
الترويسات
Idempotency-Keystringأرسل المفتاح نفسه لإعادة المحاولة بأمان: تُعاد الإجابة الأولى لمدة ٢٤ ساعة.
shop-api-versionYYYY-MMالإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.
الجسم
notify_customerbooleanTell the customer where to collect it and when the branch is open. Defaults to
true.
ما يُرجعه
200 The order, waiting for the customer.
الأخطاء
- 409Not a pickup order (
not_pickup), handed over already, ready already, waiting for confirmation or on hold.