Set customer price list
set_customer_price_listAssigns a price list to a B2C customer without a company, or unassigns it when null. Use it to set a VIP buyer's own list; customers in a company must be priced via set_company_price_list.
Instructions
Assign a price list to a customer without a company (a B2C VIP); null unassigns. One list per buyer: a customer in a company pays the company's list, so assigning to them is refused - assign the list to the company with set_company_price_list instead. Returns the customer with priceList (their own) and effectivePriceList (the one that prices them, source MEMBER or COMPANY).
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": {
"id": "<id>",
"priceListId": "<priceListId>"
},
"name": "set_customer_price_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The customer's id (from list_customers) | |
| priceListId | Yes | The price list's id (from list_price_lists); null unassigns |