• Pages
  • /
  • Dealers
  • /
  • Data Depot
  • /
  • Version 4
  • /
  • API
  • /
  • Services
  • /
  • Resources

Resources

Resources are outside, external assets that relate to Products and are typically embeddable references to something on the web in some shape or form.

Example Resource types*: Flickr, Imgur, Instagram, Slideshare, Tumblr, Vevo, Vimeo, Vine, YouTube. They could also be references to a PDF hosted on the Internet somewhere, or a URL to a Google Doc.

Resources are great for accompanying product detail page information on your website. It is our hope that you can utilize the resources we've gathered up and associated to Products to help sell the them via various sales channels. Resources are very versatile and can be used in a number of ways.

Usage examples

Display a linked thumbnail of the Resource...

Acerbis Endurance Handguard ROCK-A-BILLY Tire for Side-By-Sides by Sedona Tire & Wheel Hot Rods-Complete Crankshafts Lite Hydrogen Limited Edition Hi-Vis Racewear Shinko 010 Apex Radial Tire GMAX Helmets Design & Development

Embed the resources as an iframe...

Resources contain a property called reference which is typically just the identifier of the asset. More often than not it will simply be the YouTube identifier, such as CPeF9546uac because there are so many ways to utilize it...

https://www.youtube.com/watch?v=CPeF9546uac
https://youtu.be/CPeF9546uac

<iframe src="https://www.youtube.com/embed/CPeF9546uac"></iframe>

http://img.youtube.com/vi/CPeF9546uac/default.jpg
http://img.youtube.com/vi/CPeF9546uac/sddefault.jpg
http://img.youtube.com/vi/CPeF9546uac/mqdefault.jpg
http://img.youtube.com/vi/CPeF9546uac/hqdefault.jpg
http://img.youtube.com/vi/CPeF9546uac/maxresdefault.jpg
http://img.youtube.com/vi/CPeF9546uac/0.jpg
http://img.youtube.com/vi/CPeF9546uac/1.jpg
http://img.youtube.com/vi/CPeF9546uac/2.jpg
http://img.youtube.com/vi/CPeF9546uac/3.jpg
                            

The other types of Resources would also work the same way. We provide the Vimeo or Instagram identifier, it is up to you how you utilize it.

Example requests

Collection

http://api.wps-inc.com/resources

Entity

http://api.wps-inc.com/resources/1

...or send multiple ids separated by a comma(,)

http://api.wps-inc.com/resources/268,185,61

Associated Products

http://api.wps-inc.com/resources/1/products