Query parameters
-
facet_type string
Search by facet type
Values are
routine_goals
,skin_types
, orskin_concerns
.
GET /facets
curl \
-X GET https://api.cosmily.com/api/v1/facets \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"data": [
{
"id": 1,
"facet_type": "skin_types",
"facet_value": "dry skin",
"menuindex": 0,
"created_at": "2021-10-04T13:24:22.000Z",
"updated_at": "2021-11-13T20:23:18.000Z"
}
]
}
Response examples (200)
{
"data": [
{
"id": 1,
"menuindex": 0,
"created_at": "2021-10-04T13:24:22.000Z",
"facet_type": "skin_types",
"updated_at": "2021-11-13T20:23:18.000Z",
"facet_value": "dry skin"
}
]
}