mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-23 22:47:05 +01:00
commit
068fc67ade
1 changed files with 20 additions and 2 deletions
|
@ -51,14 +51,32 @@ ALL fields are optional apart from the `timestamp`. Data from newer events shoul
|
||||||
"name": <String, name of merchant>,
|
"name": <String, name of merchant>,
|
||||||
"description": <String, description of merchant>,
|
"description": <String, description of merchant>,
|
||||||
"timestamp": <String, unix timestamp>,
|
"timestamp": <String, unix timestamp>,
|
||||||
|
"currency": <Str, currency used>,
|
||||||
"action": <String, optional action>,
|
"action": <String, optional action>,
|
||||||
|
"shipping": [
|
||||||
|
{
|
||||||
|
"id": <String, UUID derived from stall ID>,
|
||||||
|
"zones": <String, CSV of countries/zones>,
|
||||||
|
"price": <int, cost>,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": <String, UUID derived from stall ID>,
|
||||||
|
"zones": <String, CSV of countries/zones>,
|
||||||
|
"price": <int, cost>,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": <String, UUID derived from stall ID>,
|
||||||
|
"zones": <String, CSV of countries/zones>,
|
||||||
|
"price": <int, cost>,
|
||||||
|
}
|
||||||
|
],
|
||||||
"stalls": [
|
"stalls": [
|
||||||
{
|
{
|
||||||
"id": <UUID derived from merchant public-key>,
|
"id": <UUID derived from merchant public-key>,
|
||||||
"name": <String, stall name>,
|
"name": <String, stall name>,
|
||||||
"description": <String, stall description>,
|
"description": <String, stall description>,
|
||||||
"categories": <String, CSV of voluntary categories>,
|
"categories": <String, CSV of voluntary categories>,
|
||||||
"currency": <Str, currency used>,
|
"shipping": <String, CSV of shipping ids>,
|
||||||
"action": <String, optional action>,
|
"action": <String, optional action>,
|
||||||
"products": [
|
"products": [
|
||||||
{
|
{
|
||||||
|
@ -86,7 +104,7 @@ ALL fields are optional apart from the `timestamp`. Data from newer events shoul
|
||||||
"name": <String, stall name>,
|
"name": <String, stall name>,
|
||||||
"description": <String, stall description>,
|
"description": <String, stall description>,
|
||||||
"categories": <String, CSV of voluntary categories>,
|
"categories": <String, CSV of voluntary categories>,
|
||||||
"currency": <Str, currency used>,
|
"shipping": <String, CSV of shipping ids>,
|
||||||
"action": <String, optional action>,
|
"action": <String, optional action>,
|
||||||
"products": [
|
"products": [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue