All URIs are relative to http://ce22.vg/index.php/rest/default
| Method | HTTP request | Description |
|---|---|---|
| sharedCatalogSharedCatalogRepositoryV1DeleteByIdDelete | DELETE /V1/sharedCatalog/{sharedCatalogId} | |
| sharedCatalogSharedCatalogRepositoryV1GetGet | GET /V1/sharedCatalog/{sharedCatalogId} | |
| sharedCatalogSharedCatalogRepositoryV1GetListGet | GET /V1/sharedCatalog/ | |
| sharedCatalogSharedCatalogRepositoryV1SavePost | POST /V1/sharedCatalog | |
| sharedCatalogSharedCatalogRepositoryV1SavePut | PUT /V1/sharedCatalog/{id} |
bool sharedCatalogSharedCatalogRepositoryV1DeleteByIdDelete($sharedCatalogId)
Delete a shared catalog by ID.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: OAuth2
$config = Krak\MagentoApiClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Krak\MagentoApiClient\Api\SharedCatalogSharedCatalogRepositoryV1Api(
// 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
);
$sharedCatalogId = 56; // int |
try {
$result = $apiInstance->sharedCatalogSharedCatalogRepositoryV1DeleteByIdDelete($sharedCatalogId);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SharedCatalogSharedCatalogRepositoryV1Api->sharedCatalogSharedCatalogRepositoryV1DeleteByIdDelete: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| sharedCatalogId | int |
bool
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Krak\MagentoApiClient\Model\SharedCatalogDataSharedCatalogInterface sharedCatalogSharedCatalogRepositoryV1GetGet($sharedCatalogId)
Return the following properties for the selected shared catalog: ID, Store Group ID, Name, Type, Description, Customer Group, Tax Class.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: OAuth2
$config = Krak\MagentoApiClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Krak\MagentoApiClient\Api\SharedCatalogSharedCatalogRepositoryV1Api(
// 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
);
$sharedCatalogId = 56; // int |
try {
$result = $apiInstance->sharedCatalogSharedCatalogRepositoryV1GetGet($sharedCatalogId);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SharedCatalogSharedCatalogRepositoryV1Api->sharedCatalogSharedCatalogRepositoryV1GetGet: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| sharedCatalogId | int |
\Krak\MagentoApiClient\Model\SharedCatalogDataSharedCatalogInterface
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Krak\MagentoApiClient\Model\SharedCatalogDataSearchResultsInterface sharedCatalogSharedCatalogRepositoryV1GetListGet($searchCriteriaFilterGroupsFiltersField, $searchCriteriaFilterGroupsFiltersValue, $searchCriteriaFilterGroupsFiltersConditionType, $searchCriteriaSortOrdersField, $searchCriteriaSortOrdersDirection, $searchCriteriaPageSize, $searchCriteriaCurrentPage)
Return the list of shared catalogs and basic properties for each catalog.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: OAuth2
$config = Krak\MagentoApiClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Krak\MagentoApiClient\Api\SharedCatalogSharedCatalogRepositoryV1Api(
// 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
);
$searchCriteriaFilterGroupsFiltersField = "searchCriteriaFilterGroupsFiltersField_example"; // string | Field
$searchCriteriaFilterGroupsFiltersValue = "searchCriteriaFilterGroupsFiltersValue_example"; // string | Value
$searchCriteriaFilterGroupsFiltersConditionType = "searchCriteriaFilterGroupsFiltersConditionType_example"; // string | Condition type
$searchCriteriaSortOrdersField = "searchCriteriaSortOrdersField_example"; // string | Sorting field.
$searchCriteriaSortOrdersDirection = "searchCriteriaSortOrdersDirection_example"; // string | Sorting direction.
$searchCriteriaPageSize = 56; // int | Page size.
$searchCriteriaCurrentPage = 56; // int | Current page.
try {
$result = $apiInstance->sharedCatalogSharedCatalogRepositoryV1GetListGet($searchCriteriaFilterGroupsFiltersField, $searchCriteriaFilterGroupsFiltersValue, $searchCriteriaFilterGroupsFiltersConditionType, $searchCriteriaSortOrdersField, $searchCriteriaSortOrdersDirection, $searchCriteriaPageSize, $searchCriteriaCurrentPage);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SharedCatalogSharedCatalogRepositoryV1Api->sharedCatalogSharedCatalogRepositoryV1GetListGet: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| searchCriteriaFilterGroupsFiltersField | string | Field | [optional] |
| searchCriteriaFilterGroupsFiltersValue | string | Value | [optional] |
| searchCriteriaFilterGroupsFiltersConditionType | string | Condition type | [optional] |
| searchCriteriaSortOrdersField | string | Sorting field. | [optional] |
| searchCriteriaSortOrdersDirection | string | Sorting direction. | [optional] |
| searchCriteriaPageSize | int | Page size. | [optional] |
| searchCriteriaCurrentPage | int | Current page. | [optional] |
\Krak\MagentoApiClient\Model\SharedCatalogDataSearchResultsInterface
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
int sharedCatalogSharedCatalogRepositoryV1SavePost($sharedCatalogSharedCatalogRepositoryV1SavePostBody)
Create or update Shared Catalog service.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: OAuth2
$config = Krak\MagentoApiClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Krak\MagentoApiClient\Api\SharedCatalogSharedCatalogRepositoryV1Api(
// 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
);
$sharedCatalogSharedCatalogRepositoryV1SavePostBody = new \Krak\MagentoApiClient\Model\SharedCatalogSharedCatalogRepositoryV1SavePostBody(); // \Krak\MagentoApiClient\Model\SharedCatalogSharedCatalogRepositoryV1SavePostBody |
try {
$result = $apiInstance->sharedCatalogSharedCatalogRepositoryV1SavePost($sharedCatalogSharedCatalogRepositoryV1SavePostBody);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SharedCatalogSharedCatalogRepositoryV1Api->sharedCatalogSharedCatalogRepositoryV1SavePost: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| sharedCatalogSharedCatalogRepositoryV1SavePostBody | \Krak\MagentoApiClient\Model\SharedCatalogSharedCatalogRepositoryV1SavePostBody | [optional] |
int
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
int sharedCatalogSharedCatalogRepositoryV1SavePut($id, $sharedCatalogSharedCatalogRepositoryV1SavePutBody)
Create or update Shared Catalog service.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: OAuth2
$config = Krak\MagentoApiClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Krak\MagentoApiClient\Api\SharedCatalogSharedCatalogRepositoryV1Api(
// 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 = "id_example"; // string |
$sharedCatalogSharedCatalogRepositoryV1SavePutBody = new \Krak\MagentoApiClient\Model\SharedCatalogSharedCatalogRepositoryV1SavePutBody(); // \Krak\MagentoApiClient\Model\SharedCatalogSharedCatalogRepositoryV1SavePutBody |
try {
$result = $apiInstance->sharedCatalogSharedCatalogRepositoryV1SavePut($id, $sharedCatalogSharedCatalogRepositoryV1SavePutBody);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SharedCatalogSharedCatalogRepositoryV1Api->sharedCatalogSharedCatalogRepositoryV1SavePut: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | ||
| sharedCatalogSharedCatalogRepositoryV1SavePutBody | \Krak\MagentoApiClient\Model\SharedCatalogSharedCatalogRepositoryV1SavePutBody | [optional] |
int
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]