JSON File Import

The fields used in the JSON format are the same as for the CSV, so please refer to CSV File Import.

Example

The following is an example of a file to load two new stores:

[
   {
      "address":"126 Palmerston House, Westminster Square",
      "city":"London",
      "countryCode":"GBR",
      "description":"Brand new store with disabled access",
      "hasDisabledAccess":true,
      "latitude":51.499240,
      "longitude":-0.113020,
      "logoUrl": "http://logodomain.com/nicelogo.jpg",
      "photoUrls": ["http://logodomain.com/nicephoto1.jpg",
                   "http://logodomain.com/nicephoto1.jpg"],
      "postCode":"SE1 7UW",
      "storeId":"01WESTMINSTER",
      "storeName":"Westminster Square",
      "telephoneNumber":"+44 20 7946 0234",
      "openingTimesRules":[
         {
            "openingClosingTimes":[
               {
                  "closingAt":"12:00",
                  "openingAt":"09:00"
               }
            ],
            "rule":"every Sunday"
         },
         {
            "openingClosingTimes":[
               {
                  "closingAt":"17:00",
                  "openingAt":"09:00"
               }
            ],
            "rule":"every Monday"
         },
         {
            "openingClosingTimes":[
               {
                  "closingAt":"17:00",
                  "openingAt":"09:00"
               }
            ],
            "rule":"every Tuesday"
         },
         {
            "openingClosingTimes":[
               {
                  "closingAt":"17:00",
                  "openingAt":"09:00"
               }
            ],
            "rule":"every Wednesday"
         },
         {
            "openingClosingTimes":[
               {
                  "closingAt":"17:00",
                  "openingAt":"09:00"
               }
            ],
            "rule":"every Thursday"
         },
         {
            "openingClosingTimes":[
               {
                  "closingAt":"17:00",
                  "openingAt":"09:00"
               }
            ],
            "rule":"every Friday"
         },
         {
            "openingClosingTimes":[
               {
                  "closingAt":"15:00",
                  "openingAt":"09:00"
               },
               {
                  "closingAt":"21:00",
                  "openingAt":"16:00"
               }
            ],
            "rule":"every Saturday"
         }
      ],
      "tags":[
         "pharmacy",
         "refrigerated",
         "potato"
      ]
   },
   {
      "address":"5 Gray's Inn Road",
      "city":"London",
      "countryCode":"GBR",
      "description":null,
      "hasDisabledAccess":false,
      "latitude":51.006035,
      "logoUrl":null,
      "longitude":-0.102897,
      "photoUrls":[
         "http://logodomain.com/nicephoto1.jpg"
      ],
      "postCode":"N1 1AA",
      "storeId":"STORE003",
      "storeName":"Test Store 2",
      "telephoneNumber":"+44789446456782",
      "openingTimesRules":[
         {
            "openingClosingTimes":[
               {
                  "closingAt":"19:00",
                  "openingAt":"09:00"
               }
            ],
            "rule":"every Sunday"
         },
         {
            "openingClosingTimes":[
               {
                  "closingAt":"17:00",
                  "openingAt":"09:00"
               }
            ],
            "rule":"every Monday"
         },
         {
            "openingClosingTimes":[
               {
                  "closingAt":"17:00",
                  "openingAt":"09:00"
               }
            ],
            "rule":"every Tuesday"
         },
         {
            "openingClosingTimes":[
               {
                  "closingAt":"17:00",
                  "openingAt":"09:00"
               }
            ],
            "rule":"every Wednesday"
         },
         {
            "openingClosingTimes":[
               {
                  "closingAt":"17:00",
                  "openingAt":"09:00"
               }
            ],
            "rule":"every Thursday"
         },
         {
            "openingClosingTimes":[
               {
                  "closingAt":"17:00",
                  "openingAt":"09:00"
               }
            ],
            "rule":"every Friday"
         },
         {
            "openingClosingTimes":[
               {
                  "closingAt":"17:00",
                  "openingAt":"09:00"
               }
            ],
            "rule":"every Saturday"
         }
      ],
      "tags":null
   }
]