[Koha-bugs] [Bug 23285] Add patrons PATCH route

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 25 13:11:25 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23285

--- Comment #7 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
(In reply to Johanna Räisä from comment #6)
> (In reply to Katrin Fischer from comment #5)
> > We do have "Update patron" with PUT in the API documentation - does this
> > cover the use case?
> > https://api.koha-community.org/#tag/patrons/operation/updatePatron
> 
> This endpoint is mentioned on this documentation.
> https://wiki.koha-community.org/wiki/Patrons_endpoint_RFC
> 
> The difference between PUT and PATCH is that PUT updates the entire resource
> and PATCH updates only partial of the data without modifying the entire data.
> 
> At moment if you want to update one value, you need to update them all.
> 
> I guess Martin's comment was how is the response showed, correct me if I'm
> wrong.

Hi Johanna, I believe we do also support partial with PUT even if it might not
be totally clear from documentation.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list