GetProducts

 

GetProducts

This function returns detailed information for single products. It requires a list of specified product IDs as input. The presentation type can be set: if ‘detailed presentation’ (parameter ‘Details’) is set to ‘false’, this considerably reduces the quantity of data transferred and therefore speeds up the search. The returned data includes the fields "Price" and "DisplayPrice". To display the price on the screen, use only the "DisplayPrice" field because this is the type of display requested by the program operator for his product(s). The partner is solely liable for correctly displaying the price(s) on his website. The same applies to the ShippingPrice.

To access live data, please use this WSDL file:
https://api.affili.net/V2.0/ProductServices.svc?wsdl
To access demo data, please use this WSDL file:
https://developer-api.affili.net/V2.0/ProductServices.svc?wsdl


Operation test

With this form, you can try out this web service. We already filled it out with a sample request which will return data. Feel free to fill in different parameter values - our test data reference gives you an overview of our sample data.

FieldTypeValues
PublisherId *int 
ProductIds *int array 
Details *bool
ImageSize *enum
CurrentPage *int 
PageSize *int 
SortByenum
SortOrder *int

XML response

Short paramter definitions
PublisherId (int):
Id of the publisher whose account is being used.
ProductIds (array of int):
Array of product Ids.
Details (bool):
States whether the detailed view of product results is required.
ImageSize (enum):
The 'ImageSize' parameter can be used to select which images (product image and shop logo) should be included in the results. The number behind “Image” resp. “Logo” represents the width in pixels. Possible values are:no image, Product image: Image30 & Logo: Logo50, Product image: Image60 & Logo: Logo90, Product image: Image90 & Logo: Logo120, Product image: Image120 & Logo: Logo150, Product image: Image180 & Logo: Logo468, All images
CurrentPage (int):
States which page should be displayed.
PageSize (int):
States the size of a result page.
SortBy (enum):
States by which field the results should be ordered. If omitted, results are sorted by rank. Possible values are: Price, Title, Rank
SortOrder (enum):
States the required order direction of the results. Possible values are: unsorted, ascending, descending, random

Complete code examples

PHP

 (request)

.NET

 (request)

Copyright © 2008, affilinet GmbH