curl --request POST \
--url https://app.uselayers.com/api/storefront/v1/search/content/{searchQuery}/execute \
--header 'Accept: <accept>' \
--header 'Content-Type: <content-type>' \
--header 'X-Storefront-Access-Token: <x-storefront-access-token>' \
--data '
{
"content_type": "<string>",
"tuning": {
"textualWeight": 123,
"visualWeight": 123,
"multipleFactor": 123,
"minimumMatch": 123,
"missingEmbeddingScore": 123,
"highSignalWeight": 123,
"canonicalWeight": 123,
"matchBoostExponent": 123,
"intentGateThreshold": 123,
"keywordWeight": 123
},
"pagination": {
"page": 123,
"limit": 123
},
"identity": {
"deviceId": "<string>",
"sessionId": "<string>",
"customerId": "<string>"
},
"context": {
"geo": {
"country": "<string>",
"province": "<string>",
"city": "<string>"
},
"productsInCart": [
{
"title": "<string>",
"price": 123,
"type": "<string>",
"productId": "<string>",
"variantId": "<string>",
"options": {}
}
],
"productsPurchased": [
{
"title": "<string>",
"price": 123,
"type": "<string>",
"productId": "<string>",
"variantId": "<string>",
"options": {}
}
],
"priorSearches": [
{
"searchQuery": "<string>",
"hadClick": true,
"hadResults": true
}
],
"marketing": {
"source": "<string>",
"medium": "<string>",
"campaign": "<string>",
"term": "<string>"
},
"customer": {
"signedIn": true,
"returning": true,
"numberOfOrders": 123,
"averageOrderValue": 123,
"daysBetweenOrders": 123,
"daysSinceLastOrder": 123,
"daysSinceOldestOrder": 123,
"totalSpent": 123
},
"shoppingChannel": "<string>",
"custom": {}
}
}
'