Logo
NeoArc Studio
POST /loans/{loanId}/return

Return Loan

Mark a loan as returned. Calculates any late fees if the book is returned after the due date.

Tags: loans

Path Parameters

See schema: LoanIdPathParam

Request Body

Return details including the return date

Content Types: application/json

Schema: ReturnLoanRequest

Responses

Status Description Schema
200 Book returned successfully Loan
400 Invalid request - loan already returned ErrorResponse
404 Loan not found ErrorResponse