Description

Search the database for a particular watch by its’ reference number.
This is a “contains” type of search, so that you can also find watches using partial reference numbers.

URL

https://api.watchbase.com/v1/search/refnr

Parameters

key Your WatchBase API Key
format (optional) Possible values: xml, json. Defaults to: xml
q Search keywords (URL-encoded)

Output

List of matching watches.

Example API Call

Click to see the output:
https://api.watchbase.com/v1/search/refnr?q=p2/&key=B4PMCSMEXeGo1c0Lpk5HmEQw2bKhSqaIwzhuJ9cy

Example output


<?xml version="1.0" encoding="UTF-8"?>
<response>
	<num_results>2</num_results>
	<watches>
		<watch>
			<id>9032</id>
			<refnr>P2/01</refnr>
			<name>P2/01 Industrial Revolution</name>
			<brand>
				<id>37</id>
				<name>SevenFriday</name>
			</brand>
			<family>
				<id>234</id>
				<name>P-Series</name>
			</family>
			<thumb>https://watchbase.r.sizr.io/watch/md/sevenfriday/p-series/p2-01-cf.png</thumb>
			<updated>2017-07-01</updated>
		</watch>
		<watch>
			<id>9728</id>
			<refnr>P2/02</refnr>
			<name>P2/02 Industrial Revolution</name>
			<brand>
				<id>37</id>
				<name>SevenFriday</name>
			</brand>
			<family>
				<id>234</id>
				<name>P-Series</name>
			</family>
			<thumb>https://watchbase.r.sizr.io/watch/md/sevenfriday/p-series/p22-67.png</thumb>
			<updated>2016-08-03</updated>
		</watch>
	</watches>
</response>

Need more help with this?
Don’t hesitate to contact us here.

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.