لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.
Move delivery slot
PUT
/ admin/ v1/ stores/ {store_id}/ orders/ {order_id}/ delivery-slot- orders:write
Move the order to another open day (and window) of its delivery option; the windows' counts move with it.
معاملات المسار
store_idstringمطلوبمعرّف من نوع
store، مثلstore_01k8qs5s…. يصل إلى التطبيق مع التثبيت، في رابط OAuth وفي رد رمز الوصول.order_idstringمطلوبمعرّف من نوع
ord، مثلord_01k8qs5s….
الترويسات
shop-api-versionYYYY-MMالإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.
الجسم
datedateمطلوبstartstringمطلوبThe window's start,
HH:MM;00:00for an option that takes a day without windows.
ما يُرجعه
200 The order.
الأخطاء
- 403
forbiddenMissing permission. - 404
not_foundNo such order. - 409The order is cancelled.
- 422
validation_failedThat day or window isn't open, or the order's delivery option doesn't take a day.