Skip to content

Latest commit

 

History

History
56 lines (37 loc) · 1.57 KB

LookupApi.md

File metadata and controls

56 lines (37 loc) · 1.57 KB

\VoloCommerce\Api\v1\LookupApi

All URIs are relative to https://api.volocommerce.io/1.0

Method HTTP request Description
getOrderTaxRates GET /lookup/taxRates Returns standard set of Tax Rates

getOrderTaxRates

\VoloCommerce\Api\v1\Model\TaxCodesResultResponse getOrderTaxRates($authorization, $x_api_key)

Returns standard set of Tax Rates

Returns standard set of Tax Rates

Example

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

$api_instance = new \VoloCommerce\Api\v1\Client\LookupApi();
$authorization = "authorization_example"; // string | Auth token
$x_api_key = "x_api_key_example"; // string | API Key

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

Parameters

Name Type Description Notes
authorization string Auth token
x_api_key string API Key

Return type

\VoloCommerce\Api\v1\Model\TaxCodesResultResponse

Authorization

No authorization required

HTTP request headers

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

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