All URIs are relative to https://api.beezup.com/v2
Method | HTTP request | Description |
---|---|---|
getRights | GET /user/customer/stores/{storeId}/rights | Get store's rights |
\Swagger\Client\Model\FunctionalityRightInfo[] getRights($store_id)
Get store's rights
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: api_key
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');
$apiInstance = new Swagger\Client\Api\CustomerRightsApi(
// 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
);
$store_id = "store_id_example"; // string | Your store identifier
try {
$result = $apiInstance->getRights($store_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CustomerRightsApi->getRights: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
store_id | string | Your store identifier |
\Swagger\Client\Model\FunctionalityRightInfo[]
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]