Price one product
get_pricePrice one product (offer_id, EAN or name) for a quantity in cases. Returns the listed price per case and per unit in the offer's currency, the line total worked out in code, and MOQ and stock checks. If several offers fit, returns candidates instead of picking one. Optional target price comparison. Once the buyer is happy with a line, offer request_quote.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| abv | No | ||
| ean | No | Unit or case barcode | |
| pack | No | Units per case | |
| cases | No | Quantity in whole cases (1-10000) | |
| units | No | Quantity in units, for offers priced per unit/piece without a listed case size. Use cases otherwise. | |
| product | No | Product name as the buyer wrote it, e.g. "Jameson 6x70cl T2" | |
| offer_id | No | akay.ie offer id (from search results) | |
| volume_ml | No | ||
| duty_status | No | Duty status as listed. T1 = non-EU (third-country) status goods under customs transit; T2 = EU-status goods that can move within the EU under excise duty suspension (e.g. with an eAD in EMCS). Both T1 and T2 are held in bond with duty suspended: neither is duty paid. Bonded, On Floor and Duty Paid are shown exactly as listed on akay.ie. | |
| target_basis | No | Whether the target price is per case or per unit | |
| target_price | No | Buyer's target price, compared only when currency and basis are given | |
| target_currency | No | ||
| target_incoterm | No | ||
| target_location | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | No | ||
| note | No | ||
| cases | No | ||
| offer | No | ||
| units | No | ||
| source | Yes | Always "akay.ie" | |
| status | No | matched, ambiguous, not_listed, moq_not_met, insufficient_stock, price_unavailable or invalid_quantity | |
| message | No | ||
| currency | No | ||
| problems | No | ||
| warnings | No | ||
| requested | No | ||
| candidates | No | ||
| line_total | No | ||
| matched_by | No | ||
| total_basis | No | ||
| how_to_order | No | ||
| feed_age_hours | No | ||
| candidate_count | No | ||
| units_requested | No | ||
| feed_published_at | No | When the akay.ie catalogue snapshot was published (ISO 8601) | |
| price_status_note | No | ||
| target_comparison | No |