---
title: "Update reconciling source"
method: PATCH
path: "/reconcilingsources/{companyId}/{customId}"
tags: ["ReconcilingSources"]
---

# Update reconciling source

`PATCH /reconcilingsources/{companyId}/{customId}`

Updates a reconciling source identified by `customId`. Only the fields sent are changed. Note that updating a `customId` that does not match any reconciling source also returns `200` without applying any change — no `404` is raised.

## Path parameters

- `customId` string, required
- `companyId` string, required

## Request body

- PatchReconcilingSourceSchema
  - `name` string, nullable — Name of the reconciling source. Omitted or `null` values leave the current name unchanged.
  - `additionalInfo` object, nullable — Free-form key/value metadata to attach to the reconciling source. Replaces the previously stored value entirely (not merged). Omitted or `null` values leave the current metadata unchanged.
  - `matchingMetadataKey` string, nullable — Key within a reconciling item's `metadata` used to associate it with a product transaction. Omitted or `null` values leave the current key unchanged.

## Response `200`

Successful Response

- ModifyReconcilingSourceResponseSchema
  - `id` string, required — Embat resource ID

## Other responses

- `401` — Unauthorized. The bearer token is missing, invalid or expired.
- `404` — Not found. The requested resource or `companyId` does not exist.
- `422` — Validation Error

---

[API](https://skmtc.net/embat/apis/embat-api.md) · [All operations](https://skmtc.net/embat/apis/embat-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/embat/embat-api/versions/36ca48bf4489/schema)
