Ana içeriğe geç

What will be done at this appointment

PUT 

/api/bookings/:booking/items

A visit is rarely one thing — "cut + colour", "consultation + blood test", "service + tyres". Replaces every line wholesale, because a visit is edited as a whole and patching individual rows leaves the caller to work out which ones went away.

No prices here. What will be DONE and what it COST are different questions with different lifetimes; money is a sale (/api/sales-orders), written when somebody pays, often for something other than what was planned.

A line naming a catalogue service borrows its name and its duration; the name is then copied, so renaming the catalogue entry does not rewrite what the customer was told.

Request​

Responses​

The booking, with its lines.