Creator to Invoice API Problem
Hi,
Stuggling with creating a new customer in another users Zoho Invoice account.
Using the following:
- invinfo = { "CustomerName" : input.Company_Name, "CurrencyCode" : "GBP", "BillingAddress" : input.Address_Line_1 + "<br>" + input.Address_Line_2 + "<br>" + input.City_Town + "<br>" + input.County + "<br>" + input.Postcode, "FirstName" : input.Your_name, "LastName" : input.Surname, "Email" : input.Email_Address };
- invResp = zoho.invoice.createcustomer(invinfo, "OTHER-ZOHO-USER-NAME");
I'm getting the respose back saying: The server encountered an unexpected condition which prevented it from fulfilling the request.
Any ideas.
Just for information in case needed - There are 2 members to my orgainisation and we both have separate Zoho Invoice accounts - I'm trying to create the customer not in my account, but the other.
Kind Regards
Jon