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

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

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:00 for an option that takes a day without windows.

ما يُرجعه

200 The order.

الأخطاء

  • 403forbiddenMissing permission.
  • 404not_foundNo such order.
  • 409The order is cancelled.
  • 422validation_failedThat day or window isn't open, or the order's delivery option doesn't take a day.