How to get Person details in php array

field
#1

Hi,

Please find attached copy for the issue I am facing, I want to set data for “person tab” in the deal, which contains “name”, “email”, “phone” I want to add these details via API

Please help me to create a proper array, so that I will pass it through curl’s in php.
f

#2

I think you need to create the person first, using the endpoint:
https://developers.pipedrive.com/docs/api/v1/#!/Persons/post_persons
and then use the ID in that field when creating the deal.

I’m actually surprised you got a person with the name “Array”.

#3

@Troels_Gorm_Rasmussen is correct. You first need to create the Person with the endpoint linked above, then pass the id as person_id when creating the deal :+1:

1 Like