Send and Update Stores Data

Hox to manage your stores data on Woosmap servers

  1. Upload assets data using Woosmap Data API
  2. Supported HTTTP methods
  3. Structure of requests
  4. Managing assets data

Upload assets data using Woosmap Data API

You’ll need to upload your assets data file through Woosmap Data API. The API can be accessed through It takes a mandatory parameter : your private key. Therefore the url you’ll call should look like this:

Supported HTTTP methods

Structure of requests

All data sent and received are in JSON format.

Data sent

The data sent through POST and PUT methods should be in the following format:

    "stores": [{"storeId": "0", "key": "value"}]

Each element of the stores array must be in the format explained here .

Managing assets data

The restrictions on POST and PUT on storeIds are made to ensure identifier stability.

Create assets data

Used to create assets in batch.

Warning: storeId must not exists when using POST method, if one store already exists, the batch will be refused.

curl -X POST \
	-H 'Content-Type: application/json' \
	-d @data.json \

Updating assets data

Used to update assets in batch.

Warning: storeId must exists when using PUT method, if one asset does not exists, the batch will be refused.

curl -X PUT \
	-H 'Content-Type: application/json' \
	-d @data.json \

Deleting assets

You can delete one or more assets using the following url, the storeId is the id you defined. To delete several assets, use the comma as a separator.

curl -X DELETE \

Replace all assets

You can replace all assets of a Project using the following url.

curl -X POST \
	-H 'Content-Type: application/json' \
	-d @data.json \

This command will delete all previous assets and import assets from the json file.

During the operation previous assets could always be displayed on map.

If the import failed previous assets will not be deleted.

Was this article helpful?
Have more questions? Submit a request