لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.
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 · أو nullStaff only: another provider (or
nullfor the first free one).
ما يُرجعه
200 The booking.
الأخطاء
- 409Too late to change it online.
- 422
validation_failedThat time isn't open.