Merit Sales Prices
merit_sales_pricesRetrieves sales price lists, discount rules, or the valid price and discount for a specific customer, item, and date from Merit.
Instructions
Sales prices and discounts kept in Merit: the price lists, the discount rules, or the price one customer gets for an item on a date.
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": {
"kind": "<kind>"
},
"name": "merit_sales_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | price_list: all sales prices set per item; discounts: all discount rules; customer_price: the price and discount valid for one customer, item and date | |
| unit | No | customer_price: unit of measure | |
| limit | No | Max rows to return (totals still cover all) | |
| search | No | price_list/discounts: only rows whose item, group or name contains this | |
| on_date | No | customer_price: price valid on this date; default today | |
| currency | No | customer_price: currency; default the company's | |
| item_code | No | customer_price: the item code (required) | |
| customer_id | No | customer_price: CustomerId (or give customer_reg_no or customer_name) | |
| customer_name | No | customer_price: the customer's exact name | |
| customer_reg_no | No | customer_price: the customer's registry code |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||