---
title: "Create category, merchant feedback"
method: PUT
path: "/api/transactions/{heron_id}/feedback"
tags: ["EnrichmentFeedback"]
---

# Create category, merchant feedback

`PUT /api/transactions/{heron_id}/feedback`

Provide feedback on a Transaction's Categories and Merchants

## Path parameters

- `heron_id` string, required

## Request body

- object
  - `transaction` TransactionFeedbackSchema
    - `category` CategoryFeedback
      - `heron_id` string — heron_id of the correct category
      - `label` string — label of the correct category
    - `merchant` MerchantFeedback
      - `heron_id` string — heron_id of the correct merchant
      - `is_correct` boolean
      - `name` string — name of the correct merchant
    - `source` string, nullable — your identifier for where the feedback comes from e.g. bob_the_underwriter

## Response `200`

OK

## Other responses

- `401` — Unauthorized

---

[API](https://skmtc.dev/herondata/apis/heron-data-api.md) · [All operations](https://skmtc.dev/herondata/apis/heron-data-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/herondata/heron-data-api/revisions/f2e441edece2/schema)
