Provides an endpoint to get product prices for a given customer
Project description
Provides an endpoint to expose product prices cached by pricelist_cache. Endpoint authorization is based on auth_api_key.
Table of contents
Usage
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.
Bug Tracker
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.
Credits
Contributors
Simone Orsi <simone.orsi@camptocamp.com>
Matthieu Méquignon <matthieu.mequignon@camptocamp.com>
- Trobz:
Khoi Vo <khoivha@trobz.com>
Other credits
Financial support
Cosanum
Camptocamp R&D
Maintainers
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file odoo14_addon_pricelist_cache_rest-14.0.1.0.1.dev8-py3-none-any.whl
.
File metadata
- Download URL: odoo14_addon_pricelist_cache_rest-14.0.1.0.1.dev8-py3-none-any.whl
- Upload date:
- Size: 29.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 442a81e02ba8fc9317a55d30bc9a4bef7a0f91add6fc098cb8a8974cafcf275d |
|
MD5 | 63b0a2936959a91b24e01d7927c92611 |
|
BLAKE2b-256 | 9c8317b001d72add7ea8099f24f6e231651b981166a787c7472c2c61069c3c03 |