Shopping.com Partners Resource Center Forums

API 2 Forum

RSS Feed

Identifying products using URLs.

    • souqueta
    • Topic created 2008-06-27T02:13:42

    Is there any way to get products IDs as output, giving URL information through the SDC API as input?

  1. Ryan2008-07-07T13:34:27

    Hi souqueta -

    If you are asking if we have the ability to crawl a given page and determine the product related context of the page (if any), then I'm afraid the answer is not at this time. This is certainly something we would like to be able to provide in the future, but it would definitely be more of a longer term product.

    --ryan

  2. souqueta2008-07-17T02:13:59

    Hello Ryan,

    Apparently, API v2 search results don't always associate a product-ID to the returned products (depending on the response type).
    This sounds really strange, knowing that Shopping.com website does this association, since linking products specifications to search results, via a button.

    If this is the case, how could we make sure to retrieve product-ID's associated to results returned by the API?
    What would be the input needed?

    From a parallel answer, I understood this is easily possible using the API v3.
    Is there any alternative using API v2?

    Thanks,

  3. Ryan2008-07-21T11:16:10

    Hi souqueta -

    I'm not sure in which response you are not finding the product ID - I've just checked all types I can think of which return products, and I see a 'product-id' element in each of them. Can you provide an example of a result in which you are expecting product IDs, but there are none?

    thanks,
    --ryan

  4. souqueta2008-07-31T01:40:48

    Hi Ryan,

    You can find an XML example on http://mozilla.pastebin.org/59776 .
    In this case, the API returns XML response type 2.

  5. Ryan2008-07-31T11:18:54

    Hi souqueta -

    In SDC lingo, 'products' are entities under which we group multiple store offers to allow price comparison between stores for the same item. Your example contains no products, only store offers. In a type 2 result, the following element indicates this result set is not productized in any way:

    <hybrid-items total="5" is-soft-productized="0" is-semi-productized="0">

    This means you are only getting non-productized offers (store offers not attached to any products) and therefore there is no associated product ID.

    Hope this helps...
    --ryan