v2

latestOpenAPI 3.0.3AGPL-3.02026-07-216183244.3 KB
locations

Compare two locations by their IDs. Returns shared product prices with the latest price per location, the date of that price, and the total sum.

get/api/v1/locations/compare

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

{"stackTrail":"components:schemas:LocationCompare:properties:shared_products","oasType":"schema","type":"unknown"}
total_sum_location_anumber double required
total_sum_location_bnumber double required