All URIs are relative to https://api.scloby.com/v2
Method | HTTP request | Description |
---|---|---|
chainShopsIdGet | GET /chain_shops/{id} | Get existing Chain Shop |
\Swagger\Client\Model\InlineResponse2005 chainShopsIdGet($id)
Get existing Chain Shop
In this case you must specify the id in the URL
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oAuth2AuthCode
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Swagger\Client\Api\ChainShopsApi(
// 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 | id of the Shop
try {
$result = $apiInstance->chainShopsIdGet($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ChainShopsApi->chainShopsIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
id | string | id of the Shop |
\Swagger\Client\Model\InlineResponse2005
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]