Get outfit recommendations
POST/store/:storeId/search
Choose one of 'phone' or 'email' to identify the STYLD user for personalization.
Request
Path Parameters
storeId stringrequired
- application/json
Body
required
prompt stringrequired
email string
phone string
enable_preference boolean
Default value:
true
search_top integer
Possible values: >= 20
and <= 100
Default value:
100
Responses
- 200
- 401
- 404
- 500
Recommendation retrieved successfully
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
items
object[]
explanation string
id string
image string
link string
price string
score float
tags string[]
title string
plan string
reason string
{
"items": [
{
"explanation": "string",
"id": "string",
"image": "string",
"link": "string",
"price": "string",
"score": 0,
"tags": [
"string"
],
"title": "string"
}
],
"plan": "string",
"reason": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
error string
message string
{
"error": "string",
"message": "string"
}
Resource not found
- application/json
- Schema
- Example (from schema)
Schema
error string
message string
{
"error": "string",
"message": "string"
}
Internal server error
- application/json
- Schema
- Example (from schema)
Schema
error string
message string
{
"error": "string",
"message": "string"
}
Loading...