get_quote
Get a price quote for a barwa.pl product. Calculated by the same engine as the on-site calculator, so the price is identical. Returns net/gross price, currency, delivery time and, if the configuration matches a defined product, its name and link. Use get_product_pricing_schema first for valid option ids. width/height in mm (free-size products) or format_id (predefined). quantity is the TOTAL run and the product minimum applies per design: with liczba_wzorow=N the minimum is N x schema quantity.min. pages = total inner pages/sheets (books, brochures, calendars) — only when the schema lists options.pages; respect its min/max/step. A product whose schema marks material as required (no default) needs material_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | ||
| width | No | ||
| height | No | ||
| finishes | No | ||
| quantity | Yes | ||
| format_id | No | ||
| material_id | No | ||
| double_sided | No | ||
| product_slug | Yes | ||
| liczba_wzorow | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||