Back to all updates

almost 10 years ago

Find your Niche!

The SHOP.COM API gives you access to millions of products, but also gives you the power to target very specific products.

Suppose you wanted a vertical app about shoes, and its niche is users only interested in the most expensive, casual Vans.

In the following, you can see how our API is used to retrieve shoes that are:

categoryId=2-2179248 | Casual Shoes!

brandId=Vans | Vans!

priceRangeId=[65.01 TO 247.34] | upper priced (the expensive ones)!

 

CURL

curl --request GET \
--url 'https://api.shop.com/AffiliatePublisherNetwork/v1/products?publisherID=TEST&locale=en_US&perPage=15&priceRangeId=%5B65.01%20TO%20247.34%5D&brandId=Vans&categoryId=2-2179248' \
--header 'apikey: XXXX' \
--header 'cache-control: no-cache' \
--header 'content-type: application/json' \

 

HTTP

GET /AffiliatePublisherNetwork/v1/products?publisherID=TEST&locale=en_US&perPage=15&priceRangeId=[65.01 TO 247.34]&brandId=Vans&categoryId=2-2179248 HTTP/1.1
Host: api.shop.com
Content-Type: application/json
apikey: XXXX
Cache-Control: no-cache

Go For It!