Sample Input structure of an asset
A more complete store input JSON data
The API Takes a valid Json with assets data as input. Each JSON Store Object should comply with this structure:
{
"stores": [
{
"types": [
"StoreBrand",
"drive"
],
"tags": [
"consoles",
"electromenager"
],
"location": {
"lat": 42.625118400000005,
"lng": 2.4270975000000004
},
"storeId": "0",
"name": "StoreName",
"address": {
"lines": ["Gibraltar"],
"countryCode": "FR",
"city": "Prades",
"zipcode": "66500"
},
"contact": {
"website": "http://127.0.0.1",
"phone": "+330000000",
"email": "[email protected]"
},
"userProperties": {
"some user properties": "associated user value"
},
"openingHours": {
"timezone": "Europe/Paris",
"usual": {
"default": [
{
"start": "08:30",
"end": "22:00"
}
],
"1": []
},
"special": {
"2015-02-07": [
{
"start": "08:00",
"end": "23:00"
}
],
"2015-02-08": []
}
}
}
]
}
Was this article helpful?
Have more questions? Submit a request