JSON
Last updated
Last updated
JSON is a data format commonly used by APIs.
The key information that Stockeo needs to know is where the list of products is located in a JSON structure.
Very often the list of products is at the top level. You can recognize it by the fact that the JSON starts and ends with square brackets [ ]
.
In such a case you can leave the Products List Path empty.
Sometime the list is placed under an object property. Then you need to specify the property name in the Products List Path.
For the example above, the Products List Path should be items
.
Rarely, the list of products may be nested within an inner object that involves traversing multiple levels of objects to reach the desired data. In such a case you need to specify the full path, that is, a list of properties separated by dots, without any spaces between them.
For the example above, the Products List Path should be data.items
.