KintsugiKintsugi

Update a product configuration

PATCH/products/configs/{config_id}

Update a product configuration's editable fields. This is a partial update: only the fields you send change; any field you omit is left as-is. Send primaryProductCategory and primaryProductSubcategory together to change the category; sending only one returns 400. Returns 404 if the configuration does not exist or belongs to an organization your credential cannot access, and 409 if the change would duplicate another configuration's tax code. Send the target organization as Organization-Id when your credential owns more than one.

Authorization

Api-KeystringRequired

Your secret API key. Include it with every request.

Headers

Api-Versiondate

Release date, as YYYY-MM-DD. Defaults to 2026-07-21.

Organization-Idstring

Target organization id (Organization-Id selector).

Connection-Idstring

Target connection id; resolves to its organization.

Entity-Idstring

Platform entity id; resolves to a connection's organization.

Entity-Sourcestring

Optional source to disambiguate an Entity-Id.

Path parameters

config_idstringRequired

The unique identifier of the product configuration.

Body

primaryProductCategoryPublicProductCategoryEnum

New top-level tax category. Send together with primaryProductSubcategory.

Available options:DigitalMiscPhysicalServices
primaryProductSubcategorystring

New tax subcategory display label.

aiEnabledboolean

Let the classifier choose among tax codes under this category.

productDescriptionstring

Free-text note about this configuration.

isDefaultboolean

Make this the organization's default configuration. Creating a new default clears the previous one.

Response

idstringRequired

The unique identifier of this configuration.

organizationIdstringRequired

The organization this configuration belongs to.

primaryProductCategoryPublicProductCategoryEnumRequired

Top-level tax category derived from primaryProductCodeName. null only if the stored code no longer resolves to a published category.

Available options:DigitalMiscPhysicalServices
primaryProductSubcategorystringRequired

Tax subcategory display label derived from primaryProductCodeName. null only if the stored code no longer resolves to a published subcategory.

primaryProductCodeNamestringRequired

The resolved product tax code this configuration applies. null only for a config predating this field's backfill, which has not yet been reclassified.

aiEnabledbooleanRequired

Whether the classifier may choose among tax codes under this configuration's category rather than always applying one fixed code.

productDescriptionstringRequired

Free-text note about this configuration. Empty when not set.

isDefaultbooleanRequired

Whether this is the organization's default configuration, applied when no other configuration matches a product. At most one configuration per organization may be the default.

200

Successful Response

400

The request was invalid.

401

Authentication failed or was missing.

403

The credential is not permitted for this request.

404

The requested resource was not found.

409

The request conflicts with existing state.

422

The request failed validation.

cURL
PATCH /products/configs/{config_id}
-H "Api-Key: ***"
-H "Api-Version: 2026-07-21"
{
"primaryProductCategory": "Physical",
"primaryProductSubcategory": "General Clothing",
"aiEnabled": false,
"productDescription": "Annual software subscription",
"isDefault": false
}
Example request
https://api.trykintsugi.com/products/configs/{config_id}
Response
{
"id": "pcnf_2mNpQr7Ls8f3k",
"organizationId": "orgn_12345",
"primaryProductCategory": "Physical",
"primaryProductSubcategory": "General Clothing",
"primaryProductCodeName": "Acme Corp",
"aiEnabled": false,
"productDescription": "Annual software subscription",
"isDefault": false
}
Update a product configuration (2026-07-21) | Kintsugi API Reference