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

Latest commit

 

History

History
96 lines (61 loc) · 3.17 KB

DirectoryCountryInformationAcquirerV1Api.md

File metadata and controls

96 lines (61 loc) · 3.17 KB

Swagger\Client\DirectoryCountryInformationAcquirerV1Api

All URIs are relative to http://t213.vg/rest/default

Method HTTP request Description
directoryCountryInformationAcquirerV1GetCountriesInfoGet GET /V1/directory/countries
directoryCountryInformationAcquirerV1GetCountryInfoGet GET /V1/directory/countries/{countryId}

directoryCountryInformationAcquirerV1GetCountriesInfoGet

\Swagger\Client\Model\DirectoryDataCountryInformationInterface[] directoryCountryInformationAcquirerV1GetCountriesInfoGet()

Get all countries and regions information for the store.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DirectoryCountryInformationAcquirerV1Api();

try {
    $result = $api_instance->directoryCountryInformationAcquirerV1GetCountriesInfoGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DirectoryCountryInformationAcquirerV1Api->directoryCountryInformationAcquirerV1GetCountriesInfoGet: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

This endpoint does not need any parameter.

Return type

\Swagger\Client\Model\DirectoryDataCountryInformationInterface[]

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]

directoryCountryInformationAcquirerV1GetCountryInfoGet

\Swagger\Client\Model\DirectoryDataCountryInformationInterface directoryCountryInformationAcquirerV1GetCountryInfoGet($country_id)

Get country and region information for the store.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DirectoryCountryInformationAcquirerV1Api();
$country_id = "country_id_example"; // string | 

try {
    $result = $api_instance->directoryCountryInformationAcquirerV1GetCountryInfoGet($country_id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DirectoryCountryInformationAcquirerV1Api->directoryCountryInformationAcquirerV1GetCountryInfoGet: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
country_id string

Return type

\Swagger\Client\Model\DirectoryDataCountryInformationInterface

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]