Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.22 KB

wishlist.md

File metadata and controls

34 lines (23 loc) · 1.22 KB

/Wishlist

Adds a variant to your wishlist on one of the supported websites.

Required query params

Key Value
site One of the websites listed below

Any additional parameters passed in for any of the supported sites will then be transformed into form fields.

For example the query ?site=solebox&pid=123&key=value&quantity=1 would add the following input fields:

<form method="POST" action="/add_to_wishlist">
  <input type="hidden" name="pid" value="123" />
  <input type="hidden" name="key" value="value" />
  <input type="hidden" name="quantity" value="1" />
</form>

Supported websites

  1. snipes
  2. onygo
  3. nike

Examples

To add this product to your wishlist, the URL would look as follows: https://atc.bonzay.io/wishlist?site=snipes&pid=00013801988994

For nike, you will need the product ID which can be obtained through Nike's API. For example: https://atc.bonzay.io/wishlist?site=nike&productId=bd1642ef-da67-5d4f-aa6e-1c441779e5ca