Post

2 followers Follow
0
Avatar

Location importer via csv

I want to update an app via csv api importer and specifically a location field for every item. The csv has the following fields : city, street_name, postal_code, street_number, latitude and longitude. I didn't find any example for mapping of location item field so I try this:

        [{
            "field_id" : 96707033,
            "unique" : true,
            "value" : {
                "column_id" : "0"
            }
        },
        {
            "field_id" : 110926803,
            "unique" : false,
            "value" : {
                1 : "city" ,
                2 : "street_name"   ,
                3 : "postal_code" ,
                4 : "street_number",
                5 : "lat",
                6 : "lng"
            }
        }]

This didn't work.

ps : I didn't receive any error.

moses simeonidis

Please sign in to leave a comment.

1 comment