Retrieves a single data feed by its ID.
GET https://api.commissionfactory.com/V1/Affiliate/DataFeeds/[id]?apiKey=[apiKey]
Name | Type | Description |
---|---|---|
id Required |
Integer | The ID of a single data feed to retrieve. |
apiKey Required |
String | A valid API key that represents an affiliate account. |
Type | Description |
---|---|
DataFeed | Represents a single data feed. |
Error | Description |
---|---|
400 Bad Request | One or more parameters could not be parsed correctly. |
401 Unauthorised | The API key is missing, invalid, or for a different account type; or the user account has been suspended or closed. |
404 Not Found | The requested item could not be found. |
429 Too Many Requests | The API call rate limit for the user account has been exceeded. |
500 Internal Server Error | An unexpected error occurred while processing your request. |
If you use the GET DataFeeds function to retrieve multiple data feeds, then the Items property of each DataFeed object will be NULL.
If you use the GET DataFeeds/[id] function to retrieve a single data feed, then the Items property will contain a DataFeedItemArray object.
GET /V1/Affiliate/DataFeeds/1?apiKey=ABC123 HTTP/1.1 Accept: application/json Host: api.commissionfactory.com
GET /V1/Affiliate/DataFeeds/1?apiKey=ABC123 HTTP/1.1 Accept: application/xml Host: api.commissionfactory.com
{ "Id": 1, "DateCreated": "2000-01-01T00:00:00.000", "DateModified": "2000-01-01T00:00:00.000", "MerchantId": 1, "MerchantName": "Example Pty Ltd", "MerchantAvatarUrl": "https://c.cfjump.com/Avatars/0.png", "Name": "Example Pty Ltd Product Feed", "Type": "Product Catalogue", "ItemsCount": 3, "Items": [ { "Id": 1, "DateCreated": "2000-01-01T00:00:00.000", "DateModified": "2000-01-01T00:00:00.000", "SKU": "P0001", "Name": "100 Piece Puzzle", "Category": "Puzzles", "Description": "A puzzle featuring a picture of a puppy.", "TargetUrl": "https://www.example.com/", "ImageUrl": "https://c.cfjump.com/Products/0/1.jpg", "Price": "$10", "Brand": null, "Colour": null, "ContentRating": null, "Currency": null, "DeliveryCost": null, "DeliveryTime": null, "Features": null, "Gender": null, "Genre": null, "Keywords": null, "ModelNumber": null, "Platform": null, "PriceRrp": null, "PriceSale": null, "PromoText": null, "Size": null, "StockLevel": null, "SubCategory": null, "Custom1": null, "Custom2": null, "Custom3": null, "Custom4": null, "TrackingUrl": "https://t.cfjump.com/0/p/1", "TrackingCode": "<a href=\"https://t.cfjump.com/0/p/1\" referrerpolicy=\"no-referrer-when-downgrade\" rel=\"nofollow sponsored\" onmousedown=\"this.rel = 'nofollow sponsored';\">100 Piece Puzzle</a>" }, { "Id": 2, "DateCreated": "2000-01-01T00:00:00.000", "DateModified": "2000-01-01T00:00:00.000", "SKU": "P0002", "Name": "200 Piece Puzzle", "Category": "Puzzles", "Description": "A puzzle featuring a picture of a puppy.", "TargetUrl": "https://www.example.com/", "ImageUrl": "https://c.cfjump.com/Products/0/2.jpg", "Price": "$15", "Brand": null, "Colour": null, "ContentRating": null, "Currency": null, "DeliveryCost": null, "DeliveryTime": null, "Features": null, "Gender": null, "Genre": null, "Keywords": null, "ModelNumber": null, "Platform": null, "PriceRrp": null, "PriceSale": null, "PromoText": null, "Size": null, "StockLevel": null, "SubCategory": null, "Custom1": null, "Custom2": null, "Custom3": null, "Custom4": null, "TrackingUrl": "https://t.cfjump.com/0/p/2", "TrackingCode": "<a href=\"https://t.cfjump.com/0/p/2\" referrerpolicy=\"no-referrer-when-downgrade\" rel=\"nofollow sponsored\" onmousedown=\"this.rel = 'nofollow sponsored';\">200 Piece Puzzle</a>" }, { "Id": 3, "DateCreated": "2000-01-01T00:00:00.000", "DateModified": "2000-01-01T00:00:00.000", "SKU": "P0003", "Name": "300 Piece Puzzle", "Category": "Puzzles", "Description": "A puzzle featuring a picture of a puppy.", "TargetUrl": "https://www.example.com/", "ImageUrl": "https://c.cfjump.com/Products/0/3.jpg", "Price": "$20", "Brand": null, "Colour": null, "ContentRating": null, "Currency": null, "DeliveryCost": null, "DeliveryTime": null, "Features": null, "Gender": null, "Genre": null, "Keywords": null, "ModelNumber": null, "Platform": null, "PriceRrp": null, "PriceSale": null, "PromoText": null, "Size": null, "StockLevel": null, "SubCategory": null, "Custom1": null, "Custom2": null, "Custom3": null, "Custom4": null, "TrackingUrl": "https://t.cfjump.com/0/p/3", "TrackingCode": "<a href=\"https://t.cfjump.com/0/p/3\" referrerpolicy=\"no-referrer-when-downgrade\" rel=\"nofollow sponsored\" onmousedown=\"this.rel = 'nofollow sponsored';\">300 Piece Puzzle</a>" } ] }
<DataFeed xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://api.commissionfactory.com/V1/Affiliate"> <Id>1</Id> <DateCreated>2000-01-01T00:00:00.000</DateCreated> <DateModified>2000-01-01T00:00:00.000</DateModified> <MerchantId>1</MerchantId> <MerchantName>Example Pty Ltd</MerchantName> <MerchantAvatarUrl>https://c.cfjump.com/Avatars/0.png</MerchantAvatarUrl> <Name>Example Pty Ltd Product Feed</Name> <Type>Product Catalogue</Type> <ItemsCount>3</ItemsCount> <Items> <DataFeedItem> <Id>1</Id> <DateCreated>2000-01-01T00:00:00.000</DateCreated> <DateModified>2000-01-01T00:00:00.000</DateModified> <SKU>P0001</SKU> <Name>100 Piece Puzzle</Name> <Category>Puzzles</Category> <Description>A puzzle featuring a picture of a puppy.</Description> <TargetUrl>https://www.example.com/</TargetUrl> <ImageUrl>https://c.cfjump.com/Products/0/1.jpg</ImageUrl> <Price>$10</Price> <Brand i:nil="true" /> <Colour i:nil="true" /> <ContentRating i:nil="true" /> <Currency i:nil="true" /> <DeliveryCost i:nil="true" /> <DeliveryTime i:nil="true" /> <Features i:nil="true" /> <Gender i:nil="true" /> <Genre i:nil="true" /> <Keywords i:nil="true" /> <ModelNumber i:nil="true" /> <Platform i:nil="true" /> <PriceRrp i:nil="true" /> <PriceSale i:nil="true" /> <PromoText i:nil="true" /> <Size i:nil="true" /> <StockLevel i:nil="true" /> <SubCategory i:nil="true" /> <Custom1 i:nil="true" /> <Custom2 i:nil="true" /> <Custom3 i:nil="true" /> <Custom4 i:nil="true" /> <TrackingUrl>https://t.cfjump.com/0/p/1</TrackingUrl> <TrackingCode><a href="https://t.cfjump.com/0/p/1" referrerpolicy="no-referrer-when-downgrade" rel="nofollow sponsored" onmousedown="this.rel = 'nofollow sponsored';">100 Piece Puzzle</a></TrackingCode> </DataFeedItem> <DataFeedItem> <Id>2</Id> <DateCreated>2000-01-01T00:00:00.000</DateCreated> <DateModified>2000-01-01T00:00:00.000</DateModified> <SKU>P0002</SKU> <Name>200 Piece Puzzle</Name> <Category>Puzzles</Category> <Description>A puzzle featuring a picture of a puppy.</Description> <TargetUrl>https://www.example.com/</TargetUrl> <ImageUrl>https://c.cfjump.com/Products/0/2.jpg</ImageUrl> <Price>$15</Price> <Brand i:nil="true" /> <Colour i:nil="true" /> <ContentRating i:nil="true" /> <Currency i:nil="true" /> <DeliveryCost i:nil="true" /> <DeliveryTime i:nil="true" /> <Features i:nil="true" /> <Gender i:nil="true" /> <Genre i:nil="true" /> <Keywords i:nil="true" /> <ModelNumber i:nil="true" /> <Platform i:nil="true" /> <PriceRrp i:nil="true" /> <PriceSale i:nil="true" /> <PromoText i:nil="true" /> <Size i:nil="true" /> <StockLevel i:nil="true" /> <SubCategory i:nil="true" /> <Custom1 i:nil="true" /> <Custom2 i:nil="true" /> <Custom3 i:nil="true" /> <Custom4 i:nil="true" /> <TrackingUrl>https://t.cfjump.com/0/p/2</TrackingUrl> <TrackingCode><a href="https://t.cfjump.com/0/p/2" referrerpolicy="no-referrer-when-downgrade" rel="nofollow sponsored" onmousedown="this.rel = 'nofollow sponsored';">200 Piece Puzzle</a></TrackingCode> </DataFeedItem> <DataFeedItem> <Id>3</Id> <DateCreated>2000-01-01T00:00:00.000</DateCreated> <DateModified>2000-01-01T00:00:00.000</DateModified> <SKU>P0003</SKU> <Name>300 Piece Puzzle</Name> <Category>Puzzles</Category> <Description>A puzzle featuring a picture of a puppy.</Description> <TargetUrl>https://www.example.com/</TargetUrl> <ImageUrl>https://c.cfjump.com/Products/0/3.jpg</ImageUrl> <Price>$20</Price> <Brand i:nil="true" /> <Colour i:nil="true" /> <ContentRating i:nil="true" /> <Currency i:nil="true" /> <DeliveryCost i:nil="true" /> <DeliveryTime i:nil="true" /> <Features i:nil="true" /> <Gender i:nil="true" /> <Genre i:nil="true" /> <Keywords i:nil="true" /> <ModelNumber i:nil="true" /> <Platform i:nil="true" /> <PriceRrp i:nil="true" /> <PriceSale i:nil="true" /> <PromoText i:nil="true" /> <Size i:nil="true" /> <StockLevel i:nil="true" /> <SubCategory i:nil="true" /> <Custom1 i:nil="true" /> <Custom2 i:nil="true" /> <Custom3 i:nil="true" /> <Custom4 i:nil="true" /> <TrackingUrl>https://t.cfjump.com/0/p/3</TrackingUrl> <TrackingCode><a href="https://t.cfjump.com/0/p/3" referrerpolicy="no-referrer-when-downgrade" rel="nofollow sponsored" onmousedown="this.rel = 'nofollow sponsored';">300 Piece Puzzle</a></TrackingCode> </DataFeedItem> </Items> </DataFeed>