SpringImport\Swagger\Magento2\Client\CustomerGroupManagementV1Api
May 18, 2017 ยท View on GitHub
All URIs are relative to http://t213.vg/rest/default
| Method | HTTP request | Description |
|---|---|---|
| customerGroupManagementV1GetDefaultGroupGet | GET /V1/customerGroups/default/{storeId} | |
| customerGroupManagementV1GetDefaultGroupGet_0 | GET /V1/customerGroups/default | |
| customerGroupManagementV1IsReadonlyGet | GET /V1/customerGroups/{id}/permissions |
customerGroupManagementV1GetDefaultGroupGet
\SpringImport\Swagger\Magento2\Client\Model\CustomerDataGroupInterface customerGroupManagementV1GetDefaultGroupGet($storeId)
Get default customer group.
Example
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new SpringImport\Swagger\Magento2\Client\Api\CustomerGroupManagementV1Api();
$storeId = 56; // int |
try {
$result = $api_instance->customerGroupManagementV1GetDefaultGroupGet($storeId);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CustomerGroupManagementV1Api->customerGroupManagementV1GetDefaultGroupGet: ', $e->getMessage(), PHP_EOL;
}
?>
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | int |
Return type
\SpringImport\Swagger\Magento2\Client\Model\CustomerDataGroupInterface
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
customerGroupManagementV1GetDefaultGroupGet_0
\SpringImport\Swagger\Magento2\Client\Model\CustomerDataGroupInterface customerGroupManagementV1GetDefaultGroupGet_0($storeId)
Get default customer group.
Example
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new SpringImport\Swagger\Magento2\Client\Api\CustomerGroupManagementV1Api();
$storeId = 56; // int |
try {
$result = $api_instance->customerGroupManagementV1GetDefaultGroupGet_0($storeId);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CustomerGroupManagementV1Api->customerGroupManagementV1GetDefaultGroupGet_0: ', $e->getMessage(), PHP_EOL;
}
?>
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | int | [optional] |
Return type
\SpringImport\Swagger\Magento2\Client\Model\CustomerDataGroupInterface
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
customerGroupManagementV1IsReadonlyGet
bool customerGroupManagementV1IsReadonlyGet($id)
Check if customer group can be deleted.
Example
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new SpringImport\Swagger\Magento2\Client\Api\CustomerGroupManagementV1Api();
$id = 56; // int |
try {
$result = $api_instance->customerGroupManagementV1IsReadonlyGet($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CustomerGroupManagementV1Api->customerGroupManagementV1IsReadonlyGet: ', $e->getMessage(), PHP_EOL;
}
?>
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | int |
Return type
bool
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]