Skip to main content
Odoo Community Association

Pricelist Cache Rest

Beta License: AGPL-3 OCA/sale-workflow Translate me on Weblate Try me on Runboat

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

Authors

  • Camptocamp

Contributors

Other credits

Financial support

  • Cosanum

  • Camptocamp R&D

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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.

Release files for odoo-addon-pricelist-cache-rest 18.0.1.0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo-addon-pricelist-cache-rest 18.0.1.0.0.2
File Interpreter ABI Platform
odoo_addon_pricelist_cache_rest-18.0.1.0.0.2-py3-none-any.whl Python 3 none any Details

Release files / odoo_addon_pricelist_cache_rest-18.0.1.0.0.2-py3-none-any.whl

Download URL odoo_addon_pricelist_cache_rest-18.0.1.0.0.2-py3-none-any.whl
Size 30.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
41d63abc863f1818c778a71b4f6b800af9ca13011a251e6c94f44fede7679b62
BLAKE2b-256 checksum
How to use checksums
e9a90fc304d7fdd677c7c91fe5750151d9a2667eedef98894ffb9d2ef5388147
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

18.0.1.0.0.2 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page