Landed Cost API providing duty rates, calculation, and item harmonization. A set of sample requests are available as a [Postman Collection](https://www.getpostman.com/collections/ad308f6c9351a18c2c12). ## Basics ### Timestamps Timestamps should be formatted using ISO-8601 to the nearest second, in U
This API SDK was automatically generated by APIMATIC v2.0.
The generated code might need to be configured with your API credentials. To do that, provide the credentials and configuration values as a constructor parameters for the controllers
The generated code has dependencies over external libraries. These dependencies
are defined in the
composer.json file. To resolve these dependencies, we use
the Composer package manager. You will need internet access for this.
- If you have not already installed Composer, install the latest version.
- Once Composer is installed, from commandline, run
composer installto install dependencies.
For using this SDK do the following:
Use Composer to install the dependencies. See the section "How To Build".
See that you have configured your SDK correctly. See the section "How To Configure".
Depending on your project setup, you might need to include composer's autoloader in your PHP code to enable autoloading of classes.
Import the SDK client in your project:
Instantiate the client. After this, you can now get the controllers and call the respective methods:
$client = new LandedCostCalculationAPIClient(); $controller = $client->getLandedCostCalculationAPI();