JSON : Merchants / Stores ListWiki Documentation + list of parameters
To get a JSON formated information about a particular Merchant / Store, just do an HTTP (POST or GET) request to the following address:
http://www.datafeedfile.com/json/json_merinfo.php?affid=...&dfftoken=...&mernum=...
This JSON example demonstrate the JSON data feed web services 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 Services.
Here is list of variable that you need to specify when requesting a JSON data feeds.
| 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. |
| mernum | Y | Merchant Number, is the merchant / store number used by DataFeedFile.com to narrow search to a particular merchant only. |
| return_stats | N | Set value to 1 to enable. Returns Merchant / Store Statistics Information such as Total Products Count, Total Product Categories, Reviews & Ratings Average, Total Number of Reviews & Ratings. |
| return_categories | N | Set value to 1 to enable. Returns Merchant / Store list of Categories and Sub-Categories along with its DFF Category Number (cat1num,cat2num,catnum). Category counts are in statistics (return_stats). |
| return_product_top10 | N | Set value to 1 to enable. Returns Merchant / Store list of Top 10 Products. |
| return_deal_newest10 | N | Set value to 1 to enable. Returns Merchant / Store list of 10 most recent deals (rebate,coupon code,free shipping,freebies,buy x get y,etc...). |
| 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 |
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.
|