For the complete documentation index, see llms.txt. This page is also available as Markdown.

JSON

JSON is a data format commonly used by APIs.

JSON settings

Products List Path

The key information that Stockeo needs to know is where the list of products is located in a JSON structure.

Top level array - empty path

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.

Object property

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.

Nested path

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.

Variants Path

Use this field only when product variants are nested within the main product object.

If variants are defined as separate product objects and share a common value (such as product name, parent SKU, or parent ID), this field should remain empty.

For additional details, refer to the Variants section.

For the JSON above, enter variants in the Variants Path field.

Variants path settings for JSON feeds in Stockeo automation
Variants Path settings for JSON feeds in Stockeo

Last updated