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

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

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 strings

    Up to 250. Empty (or left out): the oldest 250 orders waiting to be packed at the branch.

  • location_idstring · أو null

    The branch picking. Defaults to the one most of the orders ship from.

ما يُرجعه

200 The pick list.

الأخطاء

  • 403forbiddenMissing permission, or a branch the caller doesn't work at.
  • 404not_foundNone of the orders exists.
  • 422validation_failedNo orders, or more than 250.