reschedule_order
Move an order you placed to a different date, or a booking to a different slot. The price, the items and the quantity are unchanged — this moves WHEN, nothing else. To change what was ordered, use request_order_change. A booking made for a time must be moved to a time, and a whole-day order to a whole day; the new slot is checked exactly as commit_order checked the first one. Call check_availability first. Returns settled, and when true from and to, plus remainingReschedules — an order may be moved a limited number of times before a person is asked instead. False comes with a reason: "slot-taken", "not-a-slot-start", "closed-that-day", "blackout-date", "capacity-full", "inside-lead-time", "date-in-past", "time-required", "time-not-supported", "inside-cancel-window", "too-many-reschedules" or "not-open". Some are yours to fix and carry freeSlots; the rest return an escalation for check_escalation. Authentication: bearer token required, and it must be the same agent that placed the order.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | The `ref` returned by commit_order. | |
| date | Yes | The new day, as yyyy-mm-dd in the business's own local calendar. | |
| note | No | Optional. Why, in the buyer's own words. Shown to the business, never parsed. | |
| time | No | The new slot start, HH:MM in 24-hour time and in their timezone. Required if the order was made for a time; leave it out if it was made for a whole day. |