Skip to main content

JSON Feed

Written by Arleen E.

This feed structure allows us to track your own prices and stock information from a single point rather than visiting each of your product URLs individually. It is typically used when you wish to track a large number of products in your Prisync account.

With this feature, you can provide a JSON array of objects that contains multiple product listings within a single feed URL. Each JSON object represents one product, and each JSON Feed can include up to 100,000 objects.

If this limit is exceeded, an additional JSON Feed will be required. Any objects beyond the first 100,000 in a single feed will not be processed.


How to add JSON Feed URL

First, go to Settings >> Preferences. You'll then see the "Scrape my price and stock info" section.

Default: From my Product URLs.

 

Choose the second option, "From my JSON file", to continue.  You can then copy and paste the feed URL into this box.

After that, you should validate your JSON Feed URL by clicking the ✅ (Check) button.

If there are any issues with your JSON Feed, the system will notify you.

Once approved, make sure you click the Save Changes button at the bottom of the page before exiting the page. This will save your validated JSON feed URL.

Only valid JSON Feed structures will be processed. Make sure you've followed the instructions below.


​Prisync JSON Feed URL Content

Prisync's retrieval engine will send an HTTP GET request to your JSON Feed URL.

mceclip0.png

A sample URL for your JSON Feed would look like this:

The URL must return data in JSON format only. HTML pages are not supported, even if they contain the required information.

The JSON response should follow the structure shown in the sample below.

( Your JSON object must include an array named "data", and this field name cannot be changed. )

mceclip2.png

Product Properties

All of the following variables are required in a JSON object, and field names aren’t changeable.

mceclip3.png

Points to Note

  • All product URLs included in your JSON feed must end with the #_feed suffix.

  • The name, product_code, and URL values in your JSON feed must exactly match those in your Prisync account.

    This means that the product URLs uploaded to your account must contain the #_feed suffix, too.

  • Make sure to add #_prisync to the source feed URL before the validation.

  • Do not delete the source feed URL product from your account (will be added and communicated by our team).

Did this answer your question?