Sales Goals — API and MCP
Overview
This area exposes 6 operations. Each of them is at the same time an MCP tool.
This area is behind the module switch module.sales-goals. With the module off, these operations answer 404.
Operations
| Method | Path | Purpose | Permission | Parameters |
|---|---|---|---|---|
GET | /api/v1/sales-goals | Collection of SalesGoal | sales_goals.goal.view | page |
POST | /api/v1/sales-goals | Create a SalesGoal | sales_goals.goal.manage | + body |
POST | /api/v1/sales-goals/roll-recurring | Create a SalesGoalRoll | sales_goals.goal.manage | + body |
DELETE | /api/v1/sales-goals/{ulid} | Delete a SalesGoal | sales_goals.goal.manage | ulid |
GET | /api/v1/sales-goals/{ulid} | Read one SalesGoal | sales_goals.goal.view | ulid |
PATCH | /api/v1/sales-goals/{ulid} | Update a SalesGoal | sales_goals.goal.manage | ulid, + body |
Purpose texts that do not follow the standard pattern are taken verbatim from the interface description in the code.