Extend and interact with
Commission Factory
Retrieves a single data feed by its ID.
GET https://api.commissionfactory.com/V1/Merchant/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 a merchant 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/Merchant/DataFeeds/1?apiKey=ABC123 HTTP/1.1 Accept: application/json Host: api.commissionfactory.com
GET /V1/Merchant/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",
"Name": "Example Pty Ltd Product Feed",
"Type": "Product Catalogue",
"UpdateFrequency": "Daily",
"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://www.example.com/Product1.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
},
{
"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://www.example.com/Product2.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
},
{
"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://www.example.com/Product3.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
}
]
}
<DataFeed xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://api.commissionfactory.com/V1/Merchant">
<Id>1</Id>
<DateCreated>2000-01-01T00:00:00.000</DateCreated>
<DateModified>2000-01-01T00:00:00.000</DateModified>
<Name>Example Pty Ltd Product Feed</Name>
<Type>Product Catalogue</Type>
<UpdateFrequency>Daily</UpdateFrequency>
<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://www.example.com/Product1.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" />
</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://www.example.com/Product2.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" />
</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://www.example.com/Product3.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" />
</DataFeedItem>
</Items>
</DataFeed>