PDA

View Full Version : new here - a couple of questions


ader42
30-06-10, 12:57
Hi all, I'm new here and have a couple of questions...

Is it possible to retrieve a list of all categories (that contain products) for a specific merchant?

Is it possible to retrieve a list of products in a specific category for a specific merchant?

If so, which SOAP requests would I use?


ade.

ader42
01-07-10, 20:38
I guess the silence means "no not possible" :(

Ollie
05-07-10, 08:56
Hi all, I'm new here and have a couple of questions...

Is it possible to retrieve a list of all categories (that contain products) for a specific merchant?

Is it possible to retrieve a list of products in a specific category for a specific merchant?

If so, which SOAP requests would I use?


ade.

Hi Ade

To answer your questions

1) No, it is not possible to retrieve a list of all the categories that a merchant promotes via the API (unless you promote just one merchant). The getCategoryTree() function allows you to view a tree based on all the merchants you promote and there is not an option available to restrict this down. But as I said, if as an affiliate you just promoted one merchant, then technically you would get the tree for just one merchant.

2) Yes this is possible. You would need to call the GetProductList() function and pass two refinebys as options. The first would be the merchant refine with ID of the merchant present. The second would be the category refine which restricts down the category.

I would suggest taking a look at our example software available via the interface for more information and there is also some good information on the wiki (log into your darwin account and click 'Wiki' on the top right).

Cheers

Ollie