locations
GET /api/v1/locations/compare
Changed onCompare two locations by their IDs. Returns shared product prices with the latest price per location, the date of that price, and the total sum.
Request
- Base URLhttps://prices.openfoodfacts.org (the document declares no server; this is the origin it was published from)
- URLhttps://prices.openfoodfacts.org/api/v1/locations/compare
- Authnone declared
Query parameters
date__gtestring date
Filter prices with date greater than or equal to this date (YYYY-MM-DD)
date__ltestring date
Filter prices with date less than or equal to this date (YYYY-MM-DD)
location_id_ainteger required
location_id_binteger required
price_is_discountedboolean
Filter to keep only discounted or non-discounted prices
Response
Changes
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info