Skip to content
This repository has been archived by the owner on Jan 23, 2020. It is now read-only.

Latest commit

 

History

History
52 lines (35 loc) · 1.79 KB

DirectoryCurrencyInformationAcquirerV1Api.md

File metadata and controls

52 lines (35 loc) · 1.79 KB

MagentoApi\DirectoryCurrencyInformationAcquirerV1Api

All URIs are relative to /rest/default

Method HTTP request Description
directoryCurrencyInformationAcquirerV1GetCurrencyInfoGet GET /V1/directory/currency

directoryCurrencyInformationAcquirerV1GetCurrencyInfoGet

\MagentoApi\Model\DirectoryDataCurrencyInformationInterface directoryCurrencyInformationAcquirerV1GetCurrencyInfoGet()

Get currency information for the store.

Example

<?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;
}
?>

Parameters

This endpoint does not need any parameter.

Return type

\MagentoApi\Model\DirectoryDataCurrencyInformationInterface

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/xml

[Back to top] [Back to API list] [Back to Model list] [Back to README]