All URIs are relative to /rest/default
Method | HTTP request | Description |
---|---|---|
directoryCurrencyInformationAcquirerV1GetCurrencyInfoGet | GET /V1/directory/currency |
\MagentoApi\Model\DirectoryDataCurrencyInformationInterface directoryCurrencyInformationAcquirerV1GetCurrencyInfoGet()
Get currency information for the store.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new MagentoApi\Api\DirectoryCurrencyInformationAcquirerV1Api(
// 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()
);
try {
$result = $apiInstance->directoryCurrencyInformationAcquirerV1GetCurrencyInfoGet();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DirectoryCurrencyInformationAcquirerV1Api->directoryCurrencyInformationAcquirerV1GetCurrencyInfoGet: ', $e->getMessage(), PHP_EOL;
}
?>
This endpoint does not need any parameter.
\MagentoApi\Model\DirectoryDataCurrencyInformationInterface
No authorization required
- Content-Type: Not defined
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]