Schedule a pickup (signed in)
book_my_pickupRequires the customer's connected Fold account. Schedules a pickup at one of their SAVED addresses using their saved card, gate code / access notes and laundry preferences — no payment link needed. Omit addressId to use their default address. pickupWindow must be one of the market's windows; if it is missing or invalid the response lists the valid windows and nothing is scheduled. Delivery is the next evening by default (Fold delivers in the evening only). sameAsLastOrder=true reuses the service, address and pickup window of the customer's most recent order (or of sameAsOrderCode, e.g. from a receipt); anything passed explicitly overrides it. This creates a real order. An optional idempotencyKey (UUID) makes retries return the same order instead of creating a second one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Notes for THIS order only (e.g. "wine stain on white shirt"). Standing preferences are applied automatically. | |
| service | No | What to clean. Default WASH_AND_FOLD. | |
| addressId | No | One of the customer's saved addressIds (from get_my_account). Default: their default address. | |
| pickupDate | No | YYYY-MM-DD, today or later (Pacific time). | |
| deliveryDate | No | YYYY-MM-DD. Default: the day after pickup. | |
| pickupWindow | No | Pickup window label, e.g. "7:30 AM – 9:30 AM". | |
| deliveryWindow | No | Evening delivery window label. Default: the market's evening window. | |
| idempotencyKey | No | UUID recommended. Retrying with the same key returns the same order. | |
| sameAsLastOrder | No | Reuse service, address and pickup window from the most recent order ("same as last time"). | |
| sameAsOrderCode | No | Reuse service, address and pickup window from this specific past order (e.g. FOLD-24083). |