Wish

Get a Wish product's related items

Returns a Wish product's related-item rails: shelves of similar products, grouped by rail (e.g. general similar items, a faster-shipping-eligible subset). id is taken from a search result's product_id field or a product page's URL. A faster-shipping rail with no eligible items, or a nonexistent id, returns a normal, empty result rather than an error.

get/wish/product/{id}/related

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/wish/product/{id}/related
  • Auth: API key in header x-api-key

Path parameters

idstring required

Wish product id, a 24-character hex id from a search result's product_id field

Query parameters

countinteger

Number of items to return per rail, 1 to 70, defaults to 10

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "shelves": [
      {
        "feed_mode": "similar",
        "subtitle": "Similar Items with 5-7 Day Shipping",
        "title": "Faster Shipping"
      }
    ]
  },
  "msg": "OK"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.