Shopping.com Partners Resource Center Knowledge Base

The knowledge base is organized into different categories; please select a category that you are interested in.

If you do not find the answers you are looking for, please submit a new Support Ticket.

How do I ‘Narrow by’ attributes on type 2 and type 3 results?

Implementing the "narrow by" feature from our site is the same as refining results by attributes. For example, in this "prom dress" keyword query: http://api.shopping.com/scripts/GSIsapiExt.dll/linkin_id-XXXXXXX/keyword-prom%20dress

you'll find the following list of 5 attributes returned:

<attribute-list>

  <attribute name="Price Range"

  <attribute name="Material"

  <attribute name="Brands"

  <attribute name="Dress Style"

  <attribute name="Dress Type"

Under each attribute, you'll find the url and url2 required to make specific refinements. For example, if the user selected a price range refinement for less than $70, this is the link to that refinement on your cobrand: http://partnersite.shopping.com/xDN-clothing-prom%20dress--price_range_0_70~linkin_id-XXXXXXX

 

While this is the url2 version which presents the same information in xml format: http://api.shopping.com/scripts/GSIsapiExt.dll/linkin_id-XXXXXXX/SF-7/BEFID-31515/keyword-prom%20dress/dnatrs-price_range_0_70

 

The dnatrs- parameter is what designates your attribute name, while the values are followed by successive underscores: dnatrs-price_range_0_70

 

In the price range attribute, you can build it out to add your own values - using the same format. Thus, here is the url for refining the price range between $29 and $84: http://partnersite.shopping.com/xDN-clothing-prom%20dress--price_range_29_84~linkin_id-XXXXXXX

 

You'll notice that only 5 attributes were listed in the initial query, even though more attributes exist on our site. You can control the number of attributes in a type 2 and type 3 result by adding the parameter VA-[n] to your query. To control the number of attribute values for each type, add the parameter NA-[n]. For example: http://api.shopping.com/scripts/GSIsapiExt.dll/linkin_id-XXXXXXX/keyword-prom%20dress/va-10/na-5

The attributes are sorted by most relevant within each category.

 

 

Back to Category Index