انتقل إلى المحتوى

لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.

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_customerboolean

    Tell 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.