Provides an endpoint to expose product prices cached by pricelist_cache. Endpoint authorization is based on auth_api_key.
Table of contents
The 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.
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
- Camptocamp
- Simone Orsi <[email protected]>
- Matthieu Méquignon <[email protected]>
- Trobz:
- Khoi Vo <[email protected]>
Financial support
- Cosanum
- Camptocamp R&D
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
This module is part of the OCA/sale-workflow project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.