Update a book by id
PATCH {{baseUrl}}/books/:id
Request Body
{"checkedOut"=>true}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"id":"29cd820f-82f9-4b45-a7f4-0924111b5b89","title":"Ficciones","author":"Jorge Luis Borges","genre":"fiction","yearPublished":1944,"checkedOut":true,"isPermanentCollection":true,"createdAt":"2022-03-04T22:10:24.526Z"}