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

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

Reschedule my booking

POST/store/v1/customers/me/bookings/{booking_id}/reschedule
  • يدعم Idempotency-Key

Move one of the customer's bookings to another open time, within the service's rules.

معاملات المسار

  • booking_idstringمطلوب

    معرّف من نوع bkg، مثل bkg_01k8qs5s….

الترويسات

  • X-Customer-Tokenstringمطلوب

    Customer session token

  • Idempotency-Keystring

    أرسل المفتاح نفسه لإعادة المحاولة بأمان: تُعاد الإجابة الأولى لمدة ٢٤ ساعة.

  • shop-api-versionYYYY-MM

    الإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.

الجسم

  • starttimestampمطلوب

    One of the service's open slots.

  • resource_idstring · أو null

    Staff only: another provider (or null for the first free one).

ما يُرجعه

200 The booking.

الأخطاء

  • 409Too late to change it online.
  • 422validation_failedThat time isn't open.