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 BusinessCardKeyEndpoint:
JSONCopied!
https://api.karbonhq.com/v3/BusinessCards/{BusinessCardKey}We have added a new endpoint that, when used with
JSONCopied!
GETJSONCopied!
BusinessCardKeyTo make an API call to this endpoint using
JSONCopied!
GETJSONCopied!
BusinessCardKey}JSONCopied!
BusinessCardKeyNote: You can still retrieve a
JSONCopied!
BusinessCardJSONCopied!
ContactsJSONCopied!
OrganizationsJSONCopied!
ClientGroupsExample use case
You want to retrieve a Business Card associated with a Karbon entity. To receive the
JSONCopied!
BusinessCardJSONCopied!
GETJSONCopied!
{BusinessCardKey}Endpoint:
JSONCopied!
https://api.karbonhq.com/v3/BusinessCards/{BusinessCardKey}JSONCopied!PUT Business Card by BusinessCardKey
JSONCopied!
PUT Business Card by BusinessCardKeyEndpoint:
JSONCopied!
https://api.karbonhq.com/v3/BusinessCards/{BusinessCardKey}We have also enabled
JSONCopied!
PUTJSONCopied!
BusinessCardKeyTo 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!
EntityTypemust 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!
BusinessCardmethod 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!PUTand 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!
BusinessCardproperty for all objects within theJSONCopied!IsPrimaryCardarray.JSONCopied!BusinessCards
Example use case
You want to update a Business Card associated with a Karbon entity. To update the
JSONCopied!
BusinessCardJSONCopied!
PUTJSONCopied!
{BusinessCardKey}JSONCopied!
BusinessCardEndpoint:
JSONCopied!
https://api.karbonhq.com/v3/BusinessCards/{BusinessCardKey}