All URIs are relative to http://localhost.
| Method | HTTP request | Description |
|---|---|---|
| productSpecificationsGet() | GET /api/storefront/v1/product-specifications/{id} | Returns a product specification by identifier. |
| productSpecificationsGetAll() | GET /api/storefront/v1/product-specifications | Returns all product specifications, relevant to the specified query parameters. |
| productSpecificationsGetConfiguration() | GET /api/storefront/v1/product-specifications/{id}/config | Returns a product personlization workflow configuration by product specification identifier. |
productSpecificationsGet($id, $tenant_id): \Aurigma\Storefront\Model\ProductSpecificationDtoReturns a product specification by identifier.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: apiKey
$config = Aurigma\Storefront\Configuration::getDefaultConfiguration()->setApiKey('X-API-Key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Aurigma\Storefront\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-Key', 'Bearer');
// Configure API key authorization: bearerAuth
$config = Aurigma\Storefront\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Aurigma\Storefront\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
// Configure OAuth2 access token for authorization: oauth2-clientCredentials
$config = Aurigma\Storefront\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
// Configure OAuth2 access token for authorization: oauth2-code
$config = Aurigma\Storefront\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
// Configure OAuth2 access token for authorization: oauth2-implicit
$config = Aurigma\Storefront\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Aurigma\Storefront\Api\ProductSpecificationsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$id = 56; // int | Product specification identifier.
$tenant_id = 56; // int | Tenant identifier.
try {
$result = $apiInstance->productSpecificationsGet($id, $tenant_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProductSpecificationsApi->productSpecificationsGet: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | int | Product specification identifier. | |
| tenant_id | int | Tenant identifier. | [optional] |
\Aurigma\Storefront\Model\ProductSpecificationDto
apiKey, bearerAuth, oauth2-clientCredentials, oauth2-code, oauth2-implicit
- Content-Type: Not defined
- Accept:
text/plain,application/json,text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
productSpecificationsGetAll($skip, $take, $sorting, $search, $tenant_id): \Aurigma\Storefront\Model\PagedOfProductSpecificationDtoReturns all product specifications, relevant to the specified query parameters.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: apiKey
$config = Aurigma\Storefront\Configuration::getDefaultConfiguration()->setApiKey('X-API-Key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Aurigma\Storefront\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-Key', 'Bearer');
// Configure API key authorization: bearerAuth
$config = Aurigma\Storefront\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Aurigma\Storefront\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
// Configure OAuth2 access token for authorization: oauth2-clientCredentials
$config = Aurigma\Storefront\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
// Configure OAuth2 access token for authorization: oauth2-code
$config = Aurigma\Storefront\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
// Configure OAuth2 access token for authorization: oauth2-implicit
$config = Aurigma\Storefront\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Aurigma\Storefront\Api\ProductSpecificationsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$skip = 56; // int | Defines page start offset from beginning of sorted result list.
$take = 56; // int | Defines page length (how many consequent items of sorted result list should be taken).
$sorting = 'sorting_example'; // string | Defines sorting order of result list e.g.: \"Title ASC, LastModified DESC\".
$search = 'search_example'; // string | Search string for partial match.
$tenant_id = 56; // int | Tenant identifier.
try {
$result = $apiInstance->productSpecificationsGetAll($skip, $take, $sorting, $search, $tenant_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProductSpecificationsApi->productSpecificationsGetAll: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| skip | int | Defines page start offset from beginning of sorted result list. | [optional] |
| take | int | Defines page length (how many consequent items of sorted result list should be taken). | [optional] |
| sorting | string | Defines sorting order of result list e.g.: "Title ASC, LastModified DESC". | [optional] |
| search | string | Search string for partial match. | [optional] |
| tenant_id | int | Tenant identifier. | [optional] |
\Aurigma\Storefront\Model\PagedOfProductSpecificationDto
apiKey, bearerAuth, oauth2-clientCredentials, oauth2-code, oauth2-implicit
- Content-Type: Not defined
- Accept:
text/plain,application/json,text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
productSpecificationsGetConfiguration($id, $tenant_id): stringReturns a product personlization workflow configuration by product specification identifier.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: apiKey
$config = Aurigma\Storefront\Configuration::getDefaultConfiguration()->setApiKey('X-API-Key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Aurigma\Storefront\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-Key', 'Bearer');
// Configure API key authorization: bearerAuth
$config = Aurigma\Storefront\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Aurigma\Storefront\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
// Configure OAuth2 access token for authorization: oauth2-clientCredentials
$config = Aurigma\Storefront\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
// Configure OAuth2 access token for authorization: oauth2-code
$config = Aurigma\Storefront\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
// Configure OAuth2 access token for authorization: oauth2-implicit
$config = Aurigma\Storefront\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Aurigma\Storefront\Api\ProductSpecificationsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$id = 56; // int | Product specification identifier.
$tenant_id = 56; // int | Tenant identifier.
try {
$result = $apiInstance->productSpecificationsGetConfiguration($id, $tenant_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProductSpecificationsApi->productSpecificationsGetConfiguration: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | int | Product specification identifier. | |
| tenant_id | int | Tenant identifier. | [optional] |
string
apiKey, bearerAuth, oauth2-clientCredentials, oauth2-code, oauth2-implicit
- Content-Type: Not defined
- Accept:
text/plain,application/json,text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]