Price a configuration
price_configurationPrices a configuration with the website's price list and gives, for each production speed (urgente, standard, economica), the estimated ship date: the day the order leaves the warehouse and is handed to the courier, not the delivery date. Prices VAT excluded as the product page shows them (total_excl_vat, struck-through list_total_excl_vat) and VAT included (total); promotions with their end date. Call get_product first: product_id, variant_id, options and allowed quantities come from there. Options left out take the default value of the product page (default: true in the response); those hidden by the rules are listed in ignored_option_ids. Guest prices (no loyalty discounts), excluding shipping, packaging and payment-method fees (e.g. cash on delivery), which the website adds at checkout.
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": {
"product_id": "<product_id>",
"variant_id": "<variant_id>",
"quantity": "<quantity>"
},
"name": "price_configuration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | Width in cm, for made-to-measure products. | |
| height | No | Height in cm. | |
| quantity | Yes | Number of pieces, among those allowed in metadata.configurator. | |
| subjects | No | Number of different artworks sharing the quantity, up to metadata.configurator.max_subjects. | |
| product_id | Yes | Product id. | |
| selections | No | Chosen values: attribute_option_id and value_id from metadata.configurator.attributes. | |
| variant_id | Yes | Material id: metadata.configurator.variant_id of get_product. | |
| graphic_service | No | 0 none, 1 operator check of the print file, 2 basic graphic design, 3 advanced graphic design; priced per subject as in metadata.configurator.graphic_services. Omit it when that list is empty. |