لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.
Ship a draft
POST
/ admin/ v1/ stores/ {store_id}/ inventory/ transfers/ {transfer_id}/ ship- inventory:write
- يدعم Idempotency-Key
Ship a draft: its units leave the origin's stock and show as incoming at the destination. All lines or none; each needs its units available at the origin unless the item keeps selling at zero.
معاملات المسار
store_idstringمطلوبمعرّف من نوع
store، مثلstore_01k8qs5s…. يصل إلى التطبيق مع التثبيت، في رابط OAuth وفي رد رمز الوصول.transfer_idstringمطلوبمعرّف من نوع
xfer، مثلxfer_01k8qs5s….
الترويسات
Idempotency-Keystringأرسل المفتاح نفسه لإعادة المحاولة بأمان: تُعاد الإجابة الأولى لمدة ٢٤ ساعة.
shop-api-versionYYYY-MMالإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.
ما يُرجعه
200 The shipped transfer.
الأخطاء
- 404
not_foundNo such transfer. - 409The transfer isn't a draft.
- 422
validation_failedNot enough stock at the origin, an inactive location, or an item that no longer exists.