1

Is there any way to send contacts(Name,address,Phn etc) to Freshbook using PHP ? I Am using a Form to get details from the user and i need to create a "client" in freshbook using this form field values . Is it possible ?

Sujeesh S
  • 196
  • 1
  • 1
  • 12

1 Answers1

0

As you can see in the freshbooks developer site, there is a service for creating clients.

Since you were asking specifically about PHP, here's some sample code reference from the developer site. Some of the references are in PHP, and you'd probably have to adapt one of them to make it do exactly what you need.

Noy
  • 1,258
  • 2
  • 11
  • 28
  • Thank you for your reply . But it is actually for pulling data from Freshbooks . I have tried that,but here i need to push data into freshbooks – Sujeesh S Feb 17 '15 at 10:16
  • Did you read the API? In the link I've sent you, there's a client.create call: "Create a new client and return the corresponding client_id. If a password is not supplied, one will be created at random." – Noy Feb 17 '15 at 10:17
  • Plus, a little goggling turned that up: http://www.freshbooks.com/developers/blog/api-updates-clients-contacts – Noy Feb 17 '15 at 10:18
  • No, I mean the link I put in my comment. – Noy Feb 17 '15 at 10:22
  • Yeah,got it . But how can i implement this ? – Sujeesh S Feb 17 '15 at 10:22
  • Using the sample code provided by freshbooks is a good start. If you need help with existing code, please post it in your question and we'll be happy to assist. Otherwise, this is the answer to your question.. – Noy Feb 17 '15 at 10:23