ChargebeeAPI

Add contacts to a customer

Idempotency Supported
Try in API Explorer

Add a contact to a customer resource.

Prerequisites & Constraints

  • The customer must have fewer than 10 contacts already added.

Impacts

Email notifications

  • If you set contact[send_billing_email] to true, the contact receives billing emails.
  • If you set contact[send_account_email] to true, the contact receives account emails.

Implementation Notes

Check the customer's contacts[] array and ensure it contains fewer than 10 contacts before calling this API.

Sample Request

URL Format

POST https://[site].chargebee.com/api/v2/customers/{customer-id}/add_contact

Input Parameters

contact[0..n]
Parameters for contact
pass parameters as contact[<param name>]

Returns

customerCustomer object
Resource object representing customer
cardCard object
Resource object representing card