The AvantLink API has been expanded to include a new module: ConfigureDatafeed. This module is designed to allow affiliates to script the creation of raw datafeed file subscriptions, which previously could be done only manually.
With one exception noted below, all functionality that is available through the normal affiliate configuration interface is supported. This includes the ability to specify:
- file format (CSV, tab-delimited, or XML)
- file compression (none, gzip, or zip)
- taxonomy filtering, to optionally restrict the datafeed to certain categories, subcategories, product groups, or brands
- on-sale / discount filtering, to optionally restrict the datafeed to include only products that are on-sale
For the sake of simplicity, customizable output fields/columns are not supported – instead, any subscription configured using this API module will return all datafeed fields/columns.
By pairing this new module with existing offerings such as the AssociationFeed, SubscriptionFeed, and ProductTaxonomy modules, affiliates with some scripting skills can quickly automate the process of creating raw datafeed files for all of their merchants. In fact, a sample PHP script that does exactly that is included on the documentation page for the ConfigureDatafeed module.
It’s also worth noting that this module can edit or modify existing datafeed subscriptions in addition to just creating new ones. So for those affiliates who’ve been with AvantLink for a number of years and have built up long lists of subscriptions with slightly different settings, this is the perfect opportunity to standardize all of those subscriptions, e.g. to the same file format or compression options.
One final tip: don’t forget to use the “Tools” -> “API Request Builder” page within your affiliate account when experimenting with this or any of our affiliate API modules.
-David Clark
AvantLink.com