GET /products/favorite_lookup
Returns existing relationships from an array of user ids
GET /products/favorite_lookup
curl \
-X GET https://api.cosmily.com/api/v1/products/favorite_lookup?user_id=42&product_id=42 \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"data": [
{
"id": 42,
"product_id": 42,
"user_id": "string"
}
],
"links": {
"first": "string",
"last": "string",
"prev": "string",
"next": "string"
}
}
Response examples (200)
{
"data": [
{
"id": 42,
"product_id": 42,
"user_id": "string"
}
],
"links": {
"first": "string",
"last": "string",
"prev": "string",
"next": "string"
}
}