Provides an endpoint to expose product prices cached by pricelist_cache. Endpoint authorization is based on auth_api_key.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Adds a secure web address that external systems can call to download the cached prices of a customer, using an API key. Administrators choose which API keys are allowed in the company settings.
This module opens a read-only web endpoint that returns the cached pricelist prices of a given customer in JSON format, so external applications (websites, marketplaces, mobile apps) can fetch prices without logging into Odoo.
Where it appears in Odoo:
- In Settings, under the companies section, a new block "Pricelist Cache API keys" lets administrators pick the API keys authorized to read prices.
- The list of authorized keys is stored on the company (res.company) and can be edited from the settings screen.
Business rules and automatic behaviour: - A request must carry a valid API key; if the key is missing or not in the company's authorized list, the request is rejected as unauthorized. - Only prices already cached by the pricelist cache module are returned, for the customer in the address. - The response is a JSON list containing each product identifier and its price.
Areas touched:
- Company settings (res.company, res.config.settings).
- The pricelist cache data (pricelist.cache) is read and exported through a predefined export definition.
- API keys come from the auth.api.key model.
Demo data provides two example API keys for testing.
Depends on
Models and fields (2)
- res.company · extends an existing modelpricelist_cache_auhorize_apikey_ids
- res.config.settings · extends an existing modelpricelist_cache_auhorize_apikey_ids
Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 2 confirmed, 7 with no information of 9 versions.
Sources · Odoo 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/sale-workflow.
terminal Installation and usage
OCA documentation · Odoo 18.0Usage
Source · Odoo 18.0The endpoint requires the partner ID of the customer prices for which you want to retrieve prices. It should be called like this:
curl -X GET "http://your.odoo/pricelist/$partner_id" -H "accept: /" -H "API-KEY: XYZ"
By default you'll get a list of dict like this:
[ {"id": $product_id, "price": $price}, {"id": $product_id, "price": $price}, {"id": $product_id, "price": $price}, ]
You can modify the ir.exports configuration named "Pricelist Cache Parser" to change this schema.
No verified information in OCA: Installation, Configuration.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.