SpringImport\Swagger\Magento2\Client\StoreWebsiteRepositoryV1Api
May 18, 2017 ยท View on GitHub
All URIs are relative to http://t213.vg/rest/default
| Method | HTTP request | Description |
|---|---|---|
| storeWebsiteRepositoryV1GetListGet | GET /V1/store/websites |
storeWebsiteRepositoryV1GetListGet
\SpringImport\Swagger\Magento2\Client\Model\StoreDataWebsiteInterface[] storeWebsiteRepositoryV1GetListGet()
Retrieve list of all websites
Example
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new SpringImport\Swagger\Magento2\Client\Api\StoreWebsiteRepositoryV1Api();
try {
$result = $api_instance->storeWebsiteRepositoryV1GetListGet();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StoreWebsiteRepositoryV1Api->storeWebsiteRepositoryV1GetListGet: ', $e->getMessage(), PHP_EOL;
}
?>
Parameters
This endpoint does not need any parameter.
Return type
\SpringImport\Swagger\Magento2\Client\Model\StoreDataWebsiteInterface[]
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]