From df68400a2568fee7b9ece695c2eedea92d2d434d Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 18 Jan 2023 17:10:22 +0000 Subject: [PATCH 1/2] Added shipping zone --- lnbits/extensions/market/README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/lnbits/extensions/market/README.md b/lnbits/extensions/market/README.md index 0dadf7a0..26b3d229 100644 --- a/lnbits/extensions/market/README.md +++ b/lnbits/extensions/market/README.md @@ -99,6 +99,23 @@ ALL fields are optional apart from the `timestamp`. Data from newer events shoul } ] } + ], + "shipping_zones": [ + { + "id": , + "zone": , + "price": , + }, + { + "id": , + "zone": , + "price": , + }, + { + "id": , + "zone": , + "price": , + } ] } From 266471a5e35f6fbf53fe7edd51188e1e6ef20693 Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 18 Jan 2023 17:16:49 +0000 Subject: [PATCH 2/2] Added shipping --- lnbits/extensions/market/README.md | 39 +++++++++++++++--------------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/lnbits/extensions/market/README.md b/lnbits/extensions/market/README.md index 26b3d229..0a21d36f 100644 --- a/lnbits/extensions/market/README.md +++ b/lnbits/extensions/market/README.md @@ -51,14 +51,32 @@ ALL fields are optional apart from the `timestamp`. Data from newer events shoul "name": , "description": , "timestamp": , + "currency": , "action": , + "shipping": [ + { + "id": , + "zones": , + "price": , + }, + { + "id": , + "zones": , + "price": , + }, + { + "id": , + "zones": , + "price": , + } + ], "stalls": [ { "id": , "name": , "description": , "categories": , - "currency": , + "shipping": , "action": , "products": [ { @@ -86,7 +104,7 @@ ALL fields are optional apart from the `timestamp`. Data from newer events shoul "name": , "description": , "categories": , - "currency": , + "shipping": , "action": , "products": [ { @@ -99,23 +117,6 @@ ALL fields are optional apart from the `timestamp`. Data from newer events shoul } ] } - ], - "shipping_zones": [ - { - "id": , - "zone": , - "price": , - }, - { - "id": , - "zone": , - "price": , - }, - { - "id": , - "zone": , - "price": , - } ] }