A lot of code clean up! Also adding in Response everywhere...
This commit is contained in:
@@ -122,6 +122,8 @@ def get_organization_rec_list(
|
||||
|
||||
|
||||
# ### BEGIN ### API Organization Methods ### update_organization_obj() ###
|
||||
# NOTE: This will create an organization and then also create a linked contact if organization_obj.contact data is passed. The create_contact_obj will create a contact and then also create a linked address if organization_obj.contact.address data is passed.
|
||||
# Reviewed and updated 2021-08-10
|
||||
def update_organization_obj(
|
||||
organization_id: int|str, # Ideally the int ID should be passed. This allows for updating of the id_random value.
|
||||
organization_obj_up: Organization_Base,
|
||||
|
||||
Reference in New Issue
Block a user