JSON : Product Search Engine
JSON response example | PSE documentation | PSE Parameters | Product SKU data feed download | JSON + PHP Example | Output Explanation
You have the flexibility to parse and output our JSON data feed. Simply submit a request to this address:
http://www.datafeedfile.com/json/json_search.php?affid=...&dfftoken=...&keyword=...
This JSON example demonstrate the JSON data feed provided by DataFeedFile.com
Request Variables
In order for you to get JSON data feed, there are some request variables that you need to submit to Datafeedfile.com JSON Web Service.
Here is list of variable that you need to specify when requesting a JSON data feed:
| Variable | Required | Description |
| affid | Y | Affiliate ID, is a unique identifier number for each DFF affiliate account |
| dfftoken | Y | Your unique DFF Token. Generate this unique DFF Token string of characters from your Affiliate Control Panel > Settings > DFF Token. |
| compress | N | Put value 'gzip' to use gzip zlib compression algorithm. You must de-compress when receiving data before decoding the JSON. Compression is optional but recommended. Example: &compress=gzip |
| keyword | N | Search Keyword Phrase, is the keyword(s) you would like to perform the search about |
| mernum | N | Merchant Number, is the merchant / store number used by DataFeedFile.com to narrow search to a particular merchant only. |
| mfgnum | N | Manufacturer Number, is the manufacturer / name brand number used by DataFeedFile.com to narrow search to a particular manufacturer only. |
| cat1num | N | DFF 1st level Category Number, is DFF category number used by DataFeedFile.com to properly classify products in our internal database. |
| cat2num | N | DFF 2nd level Category Number, is DFF category number used by DataFeedFile.com to properly classify products in our internal database. |
| catnum | N | DFF 3rd level Category Number, is DFF category number used by DataFeedFile.com to properly classify products in our internal database. |
| pricelow | N | Minimum price. Filters search result to only show products with minimum price of pricelow |
| pricehigh | N | Maximum price. Filters search result to only show products with maximum price of pricehigh |
| sort | N | Controls the ordering of search result. The options are priceasc, pricedesc, relevance, prdtrating, storerating |
| offset | N | Starts output of search result from a particular record number instead of starting from default 1 |
| limit | N | Limit the amount of output from 1 - 20, maximum output for xml query is limited to 20 search results at this time. Default 12. |
| For more detailed list of options you can use go to our WIKI about DFF PSE parameters. |
Price Search Engine Data Query Testing Tool
We have a data query testing tool to help test the affect of the Price Search Engine parameters located at Affiliate Login > Support > Debug > PSE
Requirements
1. Please make sure your JSON access DFF Token is ACTIVE. To activate and generate token you must login and go to Settings > DFF Token.
2. Set the Requesting IP address of the computer / server / client that will be used to make the query. Set IP at Settings > DFF Token.
3. Generate dfftoken variable. You must go to Settings > DFF Token to generate an JSON access DFF Token token and use this in the dfftoken variable.
|