addedInput schema / properties / include_images
Added value: +{
+ "description": "Include image_url in each product (default false)",
+ "type": "boolean"
+}
addedInput schema / properties / limit
Added value: +{
+ "description": "Maximum number of products to return (default 25, max 100)",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+}
addedInput schema / properties / offset
Added value: +{
+ "description": "Number of products to skip, for the next page (default 0)",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+}
changedInput schema / properties / period / description
Previous value: -"Bonus week of the offer: 'current' (default) or 'next'"New value: +"Bonus week of the offer: 'current' (default); 'next' is an error on ah.be"
addedOutput schema / properties / period
Added value: +{
+ "description": "The bonus week this answer is for",
+ "enum": [
+ "current",
+ "next"
+ ],
+ "type": "string"
+}
addedOutput schema / properties / products / items / properties / bonus_price / description
Added value: +"Price of one pack with the bonus, only where AH sends one: a percentage or euro discount, or a price for one pack ('VOOR 1.99'). Absent for deals on several packs ('2e gratis', '2 voor 5.00'): then deal_min_quantity packs cost deal_total, which is deal_price_per_pack a pack."
addedOutput schema / properties / products / items / properties / category
Added value: +{
+ "description": "The bonus category of the group, as in ah_get_bonus_offers",
+ "type": "string"
+}
addedOutput schema / properties / products / items / properties / deal_min_quantity
Added value: +{
+ "description": "Packs needed to get the deal (1 for a plain discount); null without a deal, or when the mechanism is not understood",
+ "type": [
+ "number",
+ "null"
+ ]
+}
addedOutput schema / properties / products / items / properties / deal_price_per_pack
Added value: +{
+ "description": "deal_total / deal_min_quantity, in euros",
+ "type": [
+ "number",
+ "null"
+ ]
+}
addedOutput schema / properties / products / items / properties / deal_total
Added value: +{
+ "description": "What you pay for deal_min_quantity packs with the deal, in euros",
+ "type": [
+ "number",
+ "null"
+ ]
+}
addedOutput schema / properties / products / items / properties / image_url / description
Added value: +"Only with include_images: true"
addedOutput schema / properties / products / items / properties / pack_price
Added value: +{
+ "description": "Normal shelf price of one pack, in euros",
+ "type": [
+ "number",
+ "null"
+ ]
+}
addedOutput schema / properties / products / items / properties / price / description
Added value: +"Normal price of one pack in euros, whatever the deal. Same as pack_price."
addedOutput schema / properties / products / items / properties / unit_price
Added value: +{
+ "description": "Normal price per unit_price_unit, where AH gives one",
+ "type": [
+ "number",
+ "null"
+ ]
+}
addedOutput schema / properties / products / items / properties / unit_price_unit
Added value: +{
+ "anyOf": [
+ {
+ "enum": [
+ "kg",
+ "l",
+ "stuk"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The unit of unit_price"
+}
changedOutput schema / properties / products / items / required
Previous value: -[
- "id",
- "title",
- "url",
- "price",
- "is_bonus"
-]New value: +[
+ "id",
+ "title",
+ "url",
+ "price",
+ "is_bonus",
+ "pack_price",
+ "deal_min_quantity",
+ "deal_total",
+ "deal_price_per_pack",
+ "unit_price",
+ "unit_price_unit",
+ "category"
+]
addedOutput schema / properties / total
Added value: +{
+ "description": "Products in the group before paging",
+ "type": "number"
+}
addedOutput schema / properties / valid_from
Added value: +{
+ "description": "First day of the bonus week (YYYY-MM-DD, inclusive); absent when next week is not published yet",
+ "type": "string"
+}
addedOutput schema / properties / valid_until
Added value: +{
+ "description": "Last day of the bonus week (YYYY-MM-DD, inclusive); absent when next week is not published yet",
+ "type": "string"
+}
changedOutput schema / required
Previous value: -[
- "products"
-]New value: +[
+ "period",
+ "total",
+ "products"
+]