iCodes Webservices - Voucher Code and Offers API

Use our webservices to keep your site upto date with merchants and valid voucher codes and offers
RequestTypeParameters [optional]
AllVoucherCodesusername SubscriptionID [category] [orderby] [deselected_merchants]
AllOffersusername SubscriptionID category [orderby] [deselected_merchants]
VoucherCodeusername SubscriptionID merchant vouchercode [deselected_merchants]
MerchantWithVoucherCodesusername SubscriptionID merchant [orderby] [deselected_merchants]
MerchantWithOffersusername SubscriptionID merchant [orderby] [deselected_merchants]
MerchantWithoutVoucherCodesusername SubscriptionID merchant [deselected_merchants]
MerchantListWithVoucherCodesusername SubscriptionID browse or search [orderby] [deselected_merchants]
MerchantListWithOffersusername SubscriptionID browse or search [orderby] [deselected_merchants]
MerchantListWithoutVoucherCodesusername SubscriptionID browse or search [deselected_merchants]
CategoryListusername SubscriptionID


Example Requests:

Dixons voucher codes
http://webservices.icodes.co.uk/feed.xml?username=YOUR-USERNAME&SubscriptionID=YOUR-SUBID&RequestType=MerchantWithVoucherCodes&merchant=dixons

All Voucher Codes
http://webservices.icodes.co.uk/feed.xml?username=YOUR-USERNAME&SubscriptionID=YOUR-SUBID&RequestType=AllVoucherCodes

Category List
http://webservices.icodes.co.uk/feed.xml?username=YOUR-USERNAME&SubscriptionID=YOUR-SUBID&RequestType=CategoryList

All Voucher Codes in the 'Clothing and Footwear' Category
http://webservices.icodes.co.uk/feed.xml?username=YOUR-USERNAME&SubscriptionID=YOUR-SUBID&RequestType=AllVoucherCodes&category=clothing and footwear

Merchants (with voucher codes) beginning with 'A'
http://webservices.icodes.co.uk/feed.xml?username=YOUR-USERNAME&SubscriptionID=YOUR-SUBID&RequestType=MerchantListWithVoucherCodes&browse=a

Merchants (with voucher codes) who stock 'Furniture'
http://webservices.icodes.co.uk/feed.xml?username=YOUR-USERNAME&SubscriptionID=YOUR-SUBID&RequestType=MerchantListWithVoucherCodes&search=furniture

Merchants (without voucher codes) who stock 'Furniture'
http://webservices.icodes.co.uk/feed.xml?username=YOUR-USERNAME&SubscriptionID=YOUR-SUBID&RequestType=MerchantListWithoutVoucherCodes&search=furniture

To order the feed include either...
&orderby=start_date
&orderby=expiry_date
&orderby=max_start_date
&orderby=min_expiry_date

To inlcude all unjoined and rejected merchants... (the merchant url is used for deselected merchants)
&deselected_merchants=on

Please note - To make the feed AF Framework compatible replace 'feed.xml' in the request with 'af_feed.xml'


Instructions to get started

- Register for a webservices account
- Login to your webservices account, enter your affiliate id's and select your merchants

- (optional) - Download framework.zip and open up the config.php file
- Enter your iCodes username, subscriptionID & domain name, upload all files to get the iCodes framework site.

- (optional) - Download af_framework.zip and open up the inc/config.php file.
- Enter your iCodes username, subscriptionID, domain name & database details, upload all files to get the AF framework site.


Please note - The framework sites can either be used to help you get started building your voucher code website, or for reference to see how to incorporate the webservices into your own websites. We will give support regarding the actual feeds, but not with the programming, although we do have a webservices forum you can use to ask programming questions.


Home | Link to iCodes | email: support@icodes.co.uk