---
title: "Save Customer Knowledge Entry"
method: PUT
path: "/v2/deductions/knowledge/partners/{partner_id}/{operation}"
tags: ["deductions-knowledge"]
---

# Save Customer Knowledge Entry

`PUT /v2/deductions/knowledge/partners/{partner_id}/{operation}`

## Request

- Base URL: `https://api.stuut.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.stuut.ai/v2/deductions/knowledge/partners/{partner_id}/{operation}`
- Auth: HTTP bearer

Create or update a customer-scoped knowledge entry for a partner + operation.

## Path parameters

- `partner_id` string, required
- `operation` 'identify_document_customer' | 'classify_document_type' | 'parse_backup' | 'parse_remittance' | 'assign_deduction_reason_code' | 'assign_line_item_reason_codes' | 'match_inventory' | 'match_vendor' | 'match_claims_and_deductions' | 'generate_credit_memo' | 'generate_alerts' | 'deduction_workflow', required

## Request body

- SaveKnowledgeEntryRequest
  - `content` string, required

## Response `200`

Successful Response

- KnowledgeEntry: An operation with its optional saved content.
  - `id` string, required
  - `operation` 'identify_document_customer' | 'classify_document_type' | 'parse_backup' | 'parse_remittance' | 'assign_deduction_reason_code' | 'assign_line_item_reason_codes' | 'match_inventory' | 'match_vendor' | 'match_claims_and_deductions' | 'generate_credit_memo' | 'generate_alerts' | 'deduction_workflow', required
  - `scope` 'global' | 'customer', required
  - `content` string, nullable, required
  - `partner_id` string, nullable, required
  - `partner_name` string, nullable, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/stuut/apis/stuut-api.md) - [All operations](https://skmtc.dev/stuut/apis/stuut-api/llms.txt) - [OpenAPI document](https://skmtc.dev/stuut/apis/stuut-api/revisions/ff0ad16a55ff?raw)
