لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.
Pick list
POST
/ admin/ v1/ stores/ {store_id}/ orders/ pick-list- يدعم Idempotency-Key
Everything left to ship across up to 250 orders at one branch, by product name, with what should be on the branch's shelf and the orders that can't be packed there.
معاملات المسار
store_idstringمطلوبمعرّف من نوع
store، مثلstore_01k8qs5s…. يصل إلى التطبيق مع التثبيت، في رابط OAuth وفي رد رمز الوصول.
الترويسات
Idempotency-Keystringأرسل المفتاح نفسه لإعادة المحاولة بأمان: تُعاد الإجابة الأولى لمدة ٢٤ ساعة.
shop-api-versionYYYY-MMالإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.
الجسم
order_idsarray of stringsUp to 250. Empty (or left out): the oldest 250 orders waiting to be packed at the branch.
location_idstring · أو nullThe branch picking. Defaults to the one most of the orders ship from.
ما يُرجعه
200 The pick list.
الأخطاء
- 403
forbiddenMissing permission, or a branch the caller doesn't work at. - 404
not_foundNone of the orders exists. - 422
validation_failedNo orders, or more than 250.