Set company price list
set_company_price_listAssign a price list to a company so every member pays that list; pass null to unassign. Use only for company records, not individual customers.
Instructions
Assign a price list to a company record; null unassigns. Every member of the company pays this list - one list per buyer, and a member's own list is ignored while they belong to the company. A company without a list leaves its members on catalogue prices. Refused for a record that is not a company (a model with the Company capability) - for a customer use set_customer_price_list. Returns the record id and its priceListId.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"recordId": "<recordId>",
"priceListId": "<priceListId>"
},
"name": "set_company_price_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| recordId | Yes | The company record's id (a record of a model with the Company capability; a customer's company.id) | |
| priceListId | Yes | The price list's id (from list_price_lists); null unassigns |