---
title: "memories.suggest-tracking"
method: POST
path: "/capabilities/memories.suggest-tracking"
tags: ["Capabilities"]
---

# memories.suggest-tracking

`POST /capabilities/memories.suggest-tracking`

## Request

- Base URL: `https://developer.api.receiptor.ai/v1`
- URL: `https://developer.api.receiptor.ai/v1/capabilities/memories.suggest-tracking`
- Auth: one of:
  - API key in header `x-receiptor-api-key`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/receiptor/apis/receiptor-ai-api/docs/capabilities/memories.suggest-tracking/post.ts> (a function with typed inputs; its response is checked against the schema)

Suggest a tracking instruction for a supplier, for the user to review. It is stored as a suggested memory and has no effect until the user activates it in Receiptor, unless the customer set a confidence for this Xero organisation from which suggestions are activated automatically; a suggestion the user already activated or rejected is left alone. Use dimensions.list for the exact dimensionId and valueId.

## Request body

- object
  - `merchant` string, required: The supplier the instruction applies to.
  - `title` string, required
  - `summary` string, required: Why this is suggested, for example how many bills it was seen on.
  - `text` string, required: The instruction in plain words, naming the supplier and the tracking option.
  - `evidenceCount` integer, required: How many separate bills showed this pattern.
  - `tracking` object, required
    - `integrationId` string, required
    - `connectionId` string, required
    - `assignments` object[]
      - `dimensionId` string, required
      - `valueId` string, required
    - `categories` string[]: Dimension ids whose option is chosen per document from the instruction text. Use for a general instruction instead of assignments.

## Response `200`

Successful response

- object
  - `success` boolean
  - `code` integer
  - `data` object
    - `result` object: Capability-specific result

## Other responses

- `400`: Invalid input
- `401`: Authentication required
- `404`: Resource not found

## Changes

- **2026-10-27** `9c47a2a5bb3a`: 3 info
  - added the new optional request property `tracking/categories`
  - the request property `tracking/assignments` became optional
  - the `assignments` request property default value `` was added
- **2026-10-26** `42d06d1590f4`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/receiptor/apis/receiptor-ai-api/changes/capabilities/memories.suggest-tracking/post.md)

---

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