These methods allow you to create and edit Feeds. If you are a developer interested in products we recommend you use the Product Store API Methods.
feeds/list
Affiliates: List an affiliate's Feeds.
GET /feeds.xml
// Code
feeds_list()
feeds/create
Affiliates: Create a new Feed.
POST /feeds.xml
// Code
feed_create($feed)
Parameters
- feed. Required. An array that contains "name" => "feed name", "tool_ids" => "an array of product store ids", "fields" => "an array of fields (possible options are: 'campaign_name', 'campaign_id', 'widget_name', 'product_store_id', 'title', 'description', 'short_message', 'price', 'category', 'subcategory', 'url', 'image_urls', 'product_id', 'other_data', 'brand', 'created_at', 'campaign_url', 'product_active', 'aff_code')"
feeds/update
Affiliates: Update a Feed.
PUT /feeds/#{feed_id}.xml
// Code
feed_update($feed_id, $feed)
Parameters
- feed_id. Required. A Feed ID.
- feed. Required. The modified Feed.
feeds/destroy
Affiliates: Destroy a Feed.
DELETE /feeds/#{feed_id}.xml
// Code
feed_destroy($feed_id)
Parameters
- feed_id. Required. A Feed ID.