Create a new customer or update an existing customer within the storage system.
createOrUpdateCustomer
POSThttps://dcams.app/v3/stable/api/storage
Send all of the required fields below and the method will detect whether a create or update is necessary and will signal in the return which one occurred.
Request Body
{"result": "Success","reference": "888888812","customer_link": "https://register.veratad.com/admin/customers.php?a=edit&id=727657","status": "PASS","type": "updateCustomer"// possible values "updateCustomer" or "createCustomer""target": {"fn":"John","ln":"Smith","addr":"123 Main St","city":"Stratford","state":"CT","zip":"06614","dob":"19700101","email":"jsmith@veratad.com","phone":"2015106000" }}
{"result": "Error","message": "The email address is invalid"}//or{"result": "Error","message": "Missing a required input"}
{"result": "Error","message": "Either your username or password is incorrect"}
{"result": "Error","message": "The email address was not found"}
The response will include all of the target attributes stored within the system for this user, except their document images, and the following varying fields.