Added shipping
This commit is contained in:
parent
df68400a25
commit
266471a5e3
1 changed files with 20 additions and 19 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": [
|
||||||
{
|
{
|
||||||
|
|
@ -99,23 +117,6 @@ ALL fields are optional apart from the `timestamp`. Data from newer events shoul
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
|
||||||
"shipping_zones": [
|
|
||||||
{
|
|
||||||
"id": <String, UUID derived from stall ID>,
|
|
||||||
"zone": <String, shipping zone>,
|
|
||||||
"price": <int, cost>,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": <String, UUID derived from stall ID>,
|
|
||||||
"zone": <String, shipping zone>,
|
|
||||||
"price": <int, cost>,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": <String, UUID derived from stall ID>,
|
|
||||||
"zone": <String, shipping zone>,
|
|
||||||
"price": <int, cost>,
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue