Skip to Content
APIPlanning Center People TSSrcFunctionsFunction: createPersonWithContact()

planning-center-monorepo v1.0.0


planning-center-monorepo / planning-center-people-ts/src / createPersonWithContact

Function: createPersonWithContact()

createPersonWithContact(client, personData, contactData?): Promise<{ person: PersonResource; email?: EmailResource; phone?: PhoneNumberResource; address?: AddressResource; }>

Defined in: packages/planning-center-people-ts/src/helpers.ts:547 

Create a person with contact information

Parameters

client

PcoClient

personData

Partial<PersonAttributes>

contactData?

email?

Partial<EmailAttributes>

phone?

Partial<PhoneNumberAttributes>

address?

Partial<AddressAttributes>

Returns

Promise<{ person: PersonResource; email?: EmailResource; phone?: PhoneNumberResource; address?: AddressResource; }>