I'm using the PHP example at https://www.method.me/wp-content/uploads/2018/12/MethodAPISample_PHP_V1.zip but am getting errors.
For many of the fields I get a kick back from the API saying the field doesn't support "Add". I was able to resolve this by removing all fields and values with the exception of the following from the example:
I successfuily inserted to the Contacts table with just those fields. But, now when I try to view the contact at domain.method.me/apps it gives me the error "Please try again". Can I get some guidance?
Thanks for reaching out. Any Contact inserted into Contacts table should have an Entity (Customer/Vendor/CustomerLead) associated with it. If you have not inserted an Entity already, please insert an Entity into Customer or Vendor table. Use the Name of that Entity when you insert Contacts into the Contacts table.
Insert Customer with Name as 'Method Inc.'
Insert Contacts with Name as 'John Smith' and Entity as 'Method Inc.'
Also, in order to get the list of fields that are required or available to add/edit in any table you can use this call 'MethodAPIFieldListV2'. Our documentation should give you the list of fields necessary to call this endpoint.