Fetch production recommendations for a single customer. Customer can be identified using one of vuid
, email
, zaius_alias_*
, or customer_id
.
Product records that are returned will include all the base Zaius product fields in addition to any custom fields defined in your product schema:
Product recommendation results can be filtered using rules based on fields found on the products in your catalog, for example to exclude products which have no defined image_url
or which have prices below (and/or above) some threshold.
Speak with your customer service representative if you have a requirement to set up such filtering.
[{"product_id": "1234BLK","name": "Basics - Black","brand": "Jungle James Basics","sku": "1234BLK","upc": "042100005264","image_url": "https://http.cat/404","price": 25.99,"parent_product_id": "1234"},{"product_id": "1234BLU","name": "Basics - Blue","brand": "Jungle James Basics","sku": "1234BLU","upc": "042100005265","image_url": "https://http.cat/404","price": 25.99,"parent_product_id": "1234"}]
{"title": "Bad Request","status": 400,"timestamp": "2019-01-02T15:53:51.522Z","detail": {"message": "expected one of [vuid|customer_id|user_id|email|zaius_alias_*]."}}
{"message": "Forbidden"}
curl -iX GET \'https://api.zaius.com/v3/recommendations/products?email=sample@test.com&limit=10' \-H 'x-api-key: example.apiKey'