- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
Create multiple Key Contacts using REST API
screen shot from zuora UIAs you can see from the screen shot, there is an option in the UI to create multiple key contacts on an account in Zuora.
Is there a way to do this using the REST API? I only see the billto and soldto contacts in the API.
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
Re: Create multiple Key Contacts using REST API
Yes, we do this after creating the Account with the /v1/action/create endpoint passing a list of Contacts in JSON, with the AccountId of the newly created account.
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
Re: Create multiple Key Contacts using REST API
How can we pull these key contacts via API, I pull the account data and it only gives the bill to and sold to details.
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
Re: Create multiple Key Contacts using REST API
Hi,
You can use "/v1/action/query" rest api to query all the contact information.
Please refer https://www.zuora.com/developer/api-reference/#operation/Action_POSTquery
Thanks,
Prem Anandh
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
Re: Create multiple Key Contacts using REST API
Yes, But what would be the field names when I create my query?
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
Re: Create multiple Key Contacts using REST API
Hi,
You can get the API names from the below article.
Prem Anandh