/booking/:id - PartialUpdateBooking (URL)

PATCH {{host}}/booking/1

Request that allows you to update a partial section of a Booking within the API. This request updates the booking using URL.

Authorisation

This request requires you to be authorised. Which can be done in one of two ways:

  1. Basic Auth - Create a basic authorization header using Basic Auth with the credentials admin/password123
  2. Cookie based - Create a cookie header with the value token=abc123. To get a valid token, send a request to POST /auth

Request Body

[{"name"=>"firstname", "value"=>"Jim", "datatype"=>"string"}, {"name"=>"lastname", "value"=>"Brown", "datatype"=>"string"}]

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring
Cookiestring