update book
PATCH {{baseUrl}}/books/:id
Update a book by id
Update any of these fields for a book with given id
via the JSON body:
title
(string)author
(string)genre
(string)yearPublished
(integer)checkedOut
(boolean)
Note: Only user-added books can be edited. Some books are part of the library's canonical collection and cannot be edited.
Request Body
{"checkedOut"=>true}
RESPONSES
status: OK
{"message":"OK"}