Create an entity

Creates an entity such as a donor or organization in the active school.

Authentication

AuthorizationBearer

The signed-in SchoolSet user token sent by the frontend.

Request

This endpoint expects an object.
entity_type_idintegerRequired
namestringRequired<=255 characters
legal_namestring or nullOptional<=255 characters
tax_idstring or nullOptional<=50 characters
tax_exemptboolean or nullOptional
emailstring or nullOptionalformat: "email"<=255 characters
phonestring or nullOptional<=50 characters
notestring or nullOptional
addresslist of maps from strings to any or nullOptional
donation_receipt_not_allowedboolean or nullOptional
processing_fee_blockedboolean or nullOptional

Response

Entity created.
statusstringOptional
messagestringOptional
dataobjectOptional

Errors

401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error