All URIs are relative to https://api-v3.findify.io/v3
Method | HTTP request | Description |
---|---|---|
autocompletePost | POST /autocomplete | |
feedbackPost | POST /feedback | |
recommendItemsFeaturedPost | POST /recommend/items/featured | |
recommendItemsItemIdViewedViewedPost | POST /recommend/items/{item_id}/viewed/viewed | |
recommendItemsItemIdsBoughtBoughtPost | POST /recommend/items/{item_ids}/bought/bought | |
recommendItemsNewestPost | POST /recommend/items/newest | |
recommendItemsTrendingPost | POST /recommend/items/trending | |
recommendItemsViewedLatestPost | POST /recommend/items/viewed/latest | |
recommendSlotPost | POST /recommend/{slot} | |
searchPost | POST /search | |
smartCollectionSlotPost | POST /smart-collection/{slot} |
\Swagger\Client\Model\AutocompleteResponse autocompletePost($autocomplete)
Autocomplete
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-Key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-Key', 'Bearer');
$api_instance = new Swagger\Client\Api\DefaultApi();
$autocomplete = new \Swagger\Client\Model\AutocompleteRequest(); // \Swagger\Client\Model\AutocompleteRequest | Request parameters for autocomplete
try {
$result = $api_instance->autocompletePost($autocomplete);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DefaultApi->autocompletePost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
autocomplete | \Swagger\Client\Model\AutocompleteRequest | Request parameters for autocomplete |
\Swagger\Client\Model\AutocompleteResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
feedbackPost($feedback)
Feedback API
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-Key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-Key', 'Bearer');
$api_instance = new Swagger\Client\Api\DefaultApi();
$feedback = new \Swagger\Client\Model\Feedback(); // \Swagger\Client\Model\Feedback | Feedback query
try {
$api_instance->feedbackPost($feedback);
} catch (Exception $e) {
echo 'Exception when calling DefaultApi->feedbackPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
feedback | \Swagger\Client\Model\Feedback | Feedback query |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\GenericRecommendationResponse recommendItemsFeaturedPost($recommendation)
Featured items recommendation
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-Key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-Key', 'Bearer');
$api_instance = new Swagger\Client\Api\DefaultApi();
$recommendation = new \Swagger\Client\Model\FeaturedRecommendationRequest(); // \Swagger\Client\Model\FeaturedRecommendationRequest | Recommendation query
try {
$result = $api_instance->recommendItemsFeaturedPost($recommendation);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DefaultApi->recommendItemsFeaturedPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
recommendation | \Swagger\Client\Model\FeaturedRecommendationRequest | Recommendation query |
\Swagger\Client\Model\GenericRecommendationResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\GenericRecommendationResponse recommendItemsItemIdViewedViewedPost($item_id, $recommendation)
Users who viewed this item also viewed that recommendation
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-Key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-Key', 'Bearer');
$api_instance = new Swagger\Client\Api\DefaultApi();
$item_id = "item_id_example"; // string |
$recommendation = new \Swagger\Client\Model\RecommendationRequest(); // \Swagger\Client\Model\RecommendationRequest | Recommendation query
try {
$result = $api_instance->recommendItemsItemIdViewedViewedPost($item_id, $recommendation);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DefaultApi->recommendItemsItemIdViewedViewedPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
item_id | string | ||
recommendation | \Swagger\Client\Model\RecommendationRequest | Recommendation query |
\Swagger\Client\Model\GenericRecommendationResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\GenericRecommendationResponse recommendItemsItemIdsBoughtBoughtPost($item_ids, $recommendation)
Frequently purchased together recommendation
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-Key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-Key', 'Bearer');
$api_instance = new Swagger\Client\Api\DefaultApi();
$item_ids = "item_ids_example"; // string |
$recommendation = new \Swagger\Client\Model\RecommendationRequest(); // \Swagger\Client\Model\RecommendationRequest | Recommendation query
try {
$result = $api_instance->recommendItemsItemIdsBoughtBoughtPost($item_ids, $recommendation);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DefaultApi->recommendItemsItemIdsBoughtBoughtPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
item_ids | string | ||
recommendation | \Swagger\Client\Model\RecommendationRequest | Recommendation query |
\Swagger\Client\Model\GenericRecommendationResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\GenericRecommendationResponse recommendItemsNewestPost($recommendation)
Newest items recommendation
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-Key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-Key', 'Bearer');
$api_instance = new Swagger\Client\Api\DefaultApi();
$recommendation = new \Swagger\Client\Model\RecommendationRequest(); // \Swagger\Client\Model\RecommendationRequest | Recommendation query
try {
$result = $api_instance->recommendItemsNewestPost($recommendation);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DefaultApi->recommendItemsNewestPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
recommendation | \Swagger\Client\Model\RecommendationRequest | Recommendation query |
\Swagger\Client\Model\GenericRecommendationResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\GenericRecommendationResponse recommendItemsTrendingPost($recommendation)
Newest items recommendation
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-Key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-Key', 'Bearer');
$api_instance = new Swagger\Client\Api\DefaultApi();
$recommendation = new \Swagger\Client\Model\RecommendationRequest(); // \Swagger\Client\Model\RecommendationRequest | Recommendation query
try {
$result = $api_instance->recommendItemsTrendingPost($recommendation);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DefaultApi->recommendItemsTrendingPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
recommendation | \Swagger\Client\Model\RecommendationRequest | Recommendation query |
\Swagger\Client\Model\GenericRecommendationResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\GenericRecommendationResponse recommendItemsViewedLatestPost($recommendation)
Latest viewed items by the user recommendation
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-Key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-Key', 'Bearer');
$api_instance = new Swagger\Client\Api\DefaultApi();
$recommendation = new \Swagger\Client\Model\RecommendationRequest(); // \Swagger\Client\Model\RecommendationRequest | Recommendation query
try {
$result = $api_instance->recommendItemsViewedLatestPost($recommendation);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DefaultApi->recommendItemsViewedLatestPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
recommendation | \Swagger\Client\Model\RecommendationRequest | Recommendation query |
\Swagger\Client\Model\GenericRecommendationResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\GenericRecommendationResponse recommendSlotPost($slot, $recommendation)
Generic recommendation
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-Key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-Key', 'Bearer');
$api_instance = new Swagger\Client\Api\DefaultApi();
$slot = "slot_example"; // string |
$recommendation = new \Swagger\Client\Model\GenericRecommendationRequest(); // \Swagger\Client\Model\GenericRecommendationRequest | Recommendation query
try {
$result = $api_instance->recommendSlotPost($slot, $recommendation);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DefaultApi->recommendSlotPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
slot | string | ||
recommendation | \Swagger\Client\Model\GenericRecommendationRequest | Recommendation query |
\Swagger\Client\Model\GenericRecommendationResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\SearchResponse searchPost($search)
Search
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-Key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-Key', 'Bearer');
$api_instance = new Swagger\Client\Api\DefaultApi();
$search = new \Swagger\Client\Model\SearchRequest(); // \Swagger\Client\Model\SearchRequest | Search query
try {
$result = $api_instance->searchPost($search);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DefaultApi->searchPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
search | \Swagger\Client\Model\SearchRequest | Search query |
\Swagger\Client\Model\SearchResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\CollectionResponse smartCollectionSlotPost($slot, $collection)
Smart collection
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-Key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-Key', 'Bearer');
$api_instance = new Swagger\Client\Api\DefaultApi();
$slot = "slot_example"; // string |
$collection = new \Swagger\Client\Model\CollectionRequest(); // \Swagger\Client\Model\CollectionRequest | Smart collection query
try {
$result = $api_instance->smartCollectionSlotPost($slot, $collection);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DefaultApi->smartCollectionSlotPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
slot | string | ||
collection | \Swagger\Client\Model\CollectionRequest | Smart collection query |
\Swagger\Client\Model\CollectionResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]