All URIs are relative to http://ce22.vg/index.php/rest/default
Method | HTTP request | Description |
---|---|---|
catalogProductAttributeGroupRepositoryV1DeleteByIdDelete | DELETE /V1/products/attribute-sets/groups/{groupId} | |
catalogProductAttributeGroupRepositoryV1GetListGet | GET /V1/products/attribute-sets/groups/list | |
catalogProductAttributeGroupRepositoryV1SavePost | POST /V1/products/attribute-sets/groups | |
catalogProductAttributeGroupRepositoryV1SavePut | PUT /V1/products/attribute-sets/{attributeSetId}/groups |
bool catalogProductAttributeGroupRepositoryV1DeleteByIdDelete($groupId)
Remove attribute group 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\CatalogProductAttributeGroupRepositoryV1Api(
// 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
);
$groupId = 56; // int |
try {
$result = $apiInstance->catalogProductAttributeGroupRepositoryV1DeleteByIdDelete($groupId);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CatalogProductAttributeGroupRepositoryV1Api->catalogProductAttributeGroupRepositoryV1DeleteByIdDelete: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
groupId | 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\EavDataAttributeGroupSearchResultsInterface catalogProductAttributeGroupRepositoryV1GetListGet($searchCriteriaFilterGroupsFiltersField, $searchCriteriaFilterGroupsFiltersValue, $searchCriteriaFilterGroupsFiltersConditionType, $searchCriteriaSortOrdersField, $searchCriteriaSortOrdersDirection, $searchCriteriaPageSize, $searchCriteriaCurrentPage)
Retrieve list of attribute groups
<?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\CatalogProductAttributeGroupRepositoryV1Api(
// 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->catalogProductAttributeGroupRepositoryV1GetListGet($searchCriteriaFilterGroupsFiltersField, $searchCriteriaFilterGroupsFiltersValue, $searchCriteriaFilterGroupsFiltersConditionType, $searchCriteriaSortOrdersField, $searchCriteriaSortOrdersDirection, $searchCriteriaPageSize, $searchCriteriaCurrentPage);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CatalogProductAttributeGroupRepositoryV1Api->catalogProductAttributeGroupRepositoryV1GetListGet: ', $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\EavDataAttributeGroupSearchResultsInterface
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Krak\MagentoApiClient\Model\EavDataAttributeGroupInterface catalogProductAttributeGroupRepositoryV1SavePost($catalogProductAttributeGroupRepositoryV1SavePostBody)
Save attribute group
<?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\CatalogProductAttributeGroupRepositoryV1Api(
// 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
);
$catalogProductAttributeGroupRepositoryV1SavePostBody = new \Krak\MagentoApiClient\Model\CatalogProductAttributeGroupRepositoryV1SavePostBody(); // \Krak\MagentoApiClient\Model\CatalogProductAttributeGroupRepositoryV1SavePostBody |
try {
$result = $apiInstance->catalogProductAttributeGroupRepositoryV1SavePost($catalogProductAttributeGroupRepositoryV1SavePostBody);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CatalogProductAttributeGroupRepositoryV1Api->catalogProductAttributeGroupRepositoryV1SavePost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
catalogProductAttributeGroupRepositoryV1SavePostBody | \Krak\MagentoApiClient\Model\CatalogProductAttributeGroupRepositoryV1SavePostBody | [optional] |
\Krak\MagentoApiClient\Model\EavDataAttributeGroupInterface
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Krak\MagentoApiClient\Model\EavDataAttributeGroupInterface catalogProductAttributeGroupRepositoryV1SavePut($attributeSetId, $catalogProductAttributeGroupRepositoryV1SavePutBody)
Save attribute group
<?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\CatalogProductAttributeGroupRepositoryV1Api(
// 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
);
$attributeSetId = "attributeSetId_example"; // string |
$catalogProductAttributeGroupRepositoryV1SavePutBody = new \Krak\MagentoApiClient\Model\CatalogProductAttributeGroupRepositoryV1SavePutBody(); // \Krak\MagentoApiClient\Model\CatalogProductAttributeGroupRepositoryV1SavePutBody |
try {
$result = $apiInstance->catalogProductAttributeGroupRepositoryV1SavePut($attributeSetId, $catalogProductAttributeGroupRepositoryV1SavePutBody);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CatalogProductAttributeGroupRepositoryV1Api->catalogProductAttributeGroupRepositoryV1SavePut: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
attributeSetId | string | ||
catalogProductAttributeGroupRepositoryV1SavePutBody | \Krak\MagentoApiClient\Model\CatalogProductAttributeGroupRepositoryV1SavePutBody | [optional] |
\Krak\MagentoApiClient\Model\EavDataAttributeGroupInterface
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]