Replace one closed reservation draft step at the expected revision
const url = 'https://example.com/customer-reservation-drafts/example';const options = { method: 'PATCH', headers: { 'Idempotency-Key': 'example', Authorization: 'Bearer <token>', 'Content-Type': 'application/json' }, body: '{"expectedRevision":1,"stepKey":"applicant_authority","stepInput":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://example.com/customer-reservation-drafts/example \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'Idempotency-Key: example' \ --data '{ "expectedRevision": 1, "stepKey": "applicant_authority", "stepInput": "example" }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Header Parameters
Section titled “Header Parameters”Request Bodyrequired
Section titled “Request Bodyrequired”- CustomerReservationDraftStepPatch
- CustomerReservationDraftStepPatch
- CustomerReservationDraftStepPatch
- CustomerReservationDraftStepPatch
- CustomerReservationDraftStepPatch
- CustomerReservationDraftStepPatch
- CustomerReservationDraftStepPatch
- CustomerReservationDraftStepPatch
- CustomerReservationDraftStepPatch
- CustomerReservationDraftStepPatch
object
object
Opaque server-issued selectionReference from the eligible extension source reservation catalog; never a raw reservation id.
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
Reservation-wide separation intent. true preserves legacy pet_together=1, meaning pets are kept separate from the newborn during service.
object
object
object
object
object
object
object
object
object
object
object
object
Responses
Section titled “Responses”Draft step saved at the next revision with downstream invalidations
object
object
object
Opaque server-issued selectionReference from the eligible extension source reservation catalog; never a raw reservation id.
object
object
object
object
object
object
object
object
object
object
object
Reservation-wide separation intent. true preserves legacy pet_together=1, meaning pets are kept separate from the newborn during service.
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
Supabase bearer token is required
Authenticated principal does not own this draft
Customer reservation draft was not found
Draft revision, expiry, or idempotency facts conflict
object
Draft step input failed closed field validation without advancing the draft
object
object
Customer reservation draft command store is unavailable