[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 12:36:26 CEST 2023


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

--- Comment #6 from Johanna Räisä <johanna.raisa at koha-suomi.fi> ---
(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.

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


More information about the Koha-bugs mailing list