Merchant Top & Random Products
Merchant Top Products:
JSON Example :
XML Example
Merchant Random Products:
JSON Example :
XML Example
Using JSON / XML you can get list of Top
# merchant products and Random merchant products from DFF database.
These web services will return the following type of data array:
Array
(
[0] => stdClass Object
(
[productsku
] =>
74803
[productid
] =>
0
[shortdesc
] => LINKSYS EZXS88W, ETHERFAST
8 PORT
10/
100 AUTOSENSE
SWITCH, DESKTOP, RJ
45 CONNECTORS, RETAIL BOX
[prdtprice
] =>
23.99
[catnum
] =>
533
[clickurl
] => &affid=
1001&product_sku=
74803
[thumbnailurl
] => http:
//df9.us/c?c=74803
[sellercount
] =>
39
)
[1] => stdClass Object
(
[productsku
] =>
2654699
[productid
] =>
0
[shortdesc
] => Mario Party
8 Wii
[prdtprice
] =>
39.99
[catnum
] =>
2334
[clickurl
] => &affid=
1001&product_sku=
2654699
[thumbnailurl
] => http:
//df9.us/c?c=2654699
[sellercount
] =>
36
)
The result 'prdtprice' and 'sellercount' has already been filtered and calculated from your (each affiliate) list of selected merchants.
Merchant Top / Random Products Parameters
Merchant Top / Random product web services are very easy to use. There are only a few required GET parameters: affid, dfftoken, mernum, the rest are optional.
Here are all the list of GET parameters:
affid
(required) Affiliate ID, is a unique identifier number for each DFF affiliate account
dfftoken
(required) Your unique DFF Token. Generate this unique DFF Token string of characters from your Affiliate Control Panel > Settings > DFF Token.
mernum
(required) Merchant Number, is the merchant / store number used by
DataFeedFile.com to select which merchant to return result for.
sort
(optional) Controls the ordering of the array returned. Options are 'asc' rank ascending (default), 'desc' rank descending (reverse), 'random' any order.
limit
(optional) Limits the number of search keywords array elements returned. By default limit is set to 10 when nothing is specified. Maximum limit is 100.
compress
(optional) 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
There are no comments on this page. [Add comment]