Release Notes
August 22, 2022
We have added a new endpoint to Karbon's public API that allow you to retrieve or update a single BusinessCard.
This document provides an overview of the Aug 2, 2022 release of Karbon's Public API.
In summary, we have created an API endpoint that makes it possible to retrieve or update a single
JSONCopied!
BusinessCard
- JSONCopied!
GET Business Card by BusinessCardKey
- JSONCopied!
PUT Business Card by BusinessCardKey
JSONCopied!GET Business Card by BusinessCardKey
JSONCopied!
GET Business Card by BusinessCardKey
Endpoint:
JSONCopied!
https://api.karbonhq.com/v3/BusinessCards/{BusinessCardKey}
We have added a new endpoint that, when used with
JSONCopied!
GET
JSONCopied!
BusinessCardKey
To make an API call to this endpoint using
JSONCopied!
GET
JSONCopied!
BusinessCardKey}
JSONCopied!
BusinessCardKey
Note: You can still retrieve a
JSONCopied!
BusinessCard
JSONCopied!
Contacts
JSONCopied!
Organizations
JSONCopied!
ClientGroups
Example use case
You want to retrieve a Business Card associated with a Karbon entity. To receive the
JSONCopied!
BusinessCard
JSONCopied!
GET
JSONCopied!
{BusinessCardKey}
Endpoint:
JSONCopied!
https://api.karbonhq.com/v3/BusinessCards/{BusinessCardKey}
JSONCopied!PUT Business Card by BusinessCardKey
JSONCopied!
PUT Business Card by BusinessCardKey
Endpoint:
JSONCopied!
https://api.karbonhq.com/v3/BusinessCards/{BusinessCardKey}
We have also enabled
JSONCopied!
PUT
JSONCopied!
BusinessCardKey
To make an API call to this endpoint using
JSONCopied!
PUT
- Replace parameter in the endpoint with a validJSONCopied!
{BusinessCardKey}
JSONCopied!BusinessCardKey
- Ensure the request payload includes all propertiesJSONCopied!
BusinessCard
- Supply changes to the properties that you want to update
- Supply original value to the properties that you don't want to update
Note
- The property of theJSONCopied!
EntityType
must match the entity (Contact, Organization or ClientGroup) it belongs to.JSONCopied!BusinessCard
- Setting the value of parameter will have no effect for Business Cards associated with Organizations, ClientGroups and Contacts.JSONCopied!
IsPrimaryCard
- A future version of this API endpoint will include validation for the property.JSONCopied!
IsPrimaryCard
- You can still update a usingJSONCopied!
BusinessCard
method against Contacts, Organizations or ClientGroups API. However, those API endpoints require you to send a payload, containing a full data set for that entity (i.e., entity details, all otherJSONCopied!PUT
and anyJSONCopied!BusinessCards
).JSONCopied!AccountingDetails
- Updating multiple Business Cards using the Contacts API will set the first as the primary card. In such scenario, it disregards the value ofJSONCopied!
BusinessCard
property for all objects within theJSONCopied!IsPrimaryCard
array.JSONCopied!BusinessCards
Example use case
You want to update a Business Card associated with a Karbon entity. To update the
JSONCopied!
BusinessCard
JSONCopied!
PUT
JSONCopied!
{BusinessCardKey}
JSONCopied!
BusinessCard
Endpoint:
JSONCopied!
https://api.karbonhq.com/v3/BusinessCards/{BusinessCardKey}