- Pages
- /
- Dealers
- /
- Data Depot
- /
- Version 4
- /
- API
- /
- Services
- /
- Resources
- Downloads
- API Documentation
- Support
API News and Updates
Subscribe to stay alert on the API.
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.
Room to grow
* Resources are not necessarily limited to any of these types. More Resource types could be added as time goes on.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...
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
But wait, there's more
There are even more YouTube hostnames that can be used: i.ytimg.com, i1.ytimg.com, i2.ytimg.com, i3.ytimg.com, i4.ytimg.com, or s.ytimg.com.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
https://api.wps-inc.com/resources
Entity
https://api.wps-inc.com/resources/1
...or send multiple ids separated by a comma(,)
https://api.wps-inc.com/resources/268,185,61
Associated Products
https://api.wps-inc.com/resources/1/products