Set User to support an Organisation
PUT/v1/users/:id/organisation
For Donations created through the Create A Donation API, A User can be set to donate to a particular Organisation by default using this API. If a Donation is made with a userId, the Donation will be associated with the Organisation the User is supporting at the time of Donation. If the userId is omitted or the User has not been set to donate to an Organisation by default then the organisationId must be included in the body.
Request
Responses
- 200
- 400
- 401
Successfully set User to support an Organisation
Bad request
Unauthorized