All URIs are relative to https://api.digitalriver.com
Method | HTTP request | Description |
---|---|---|
postShippingQuotes | POST /shipping-quotes | Returns shipping quotes |
\DigitalRiver\ApiSdk\Model\ShippingQuoteResponse postShippingQuotes($shipping_quote_request)
Returns shipping quotes
Get all available shipping quotes
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new DigitalRiver\ApiSdk\Api\ShippingQuotesApi(
// 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()
);
$shipping_quote_request = new \DigitalRiver\ApiSdk\Model\ShippingQuoteRequest(); // \DigitalRiver\ApiSdk\Model\ShippingQuoteRequest |
// Refer \DigitalRiver\ApiSdk\Model\ShippingQuoteRequest::$setters in digital-river-php/lib/Model/ShippingQuoteRequest.php to set the properties.
try {
$result = $apiInstance->postShippingQuotes($shipping_quote_request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ShippingQuotesApi->postShippingQuotes: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
shipping_quote_request | \DigitalRiver\ApiSdk\Model\ShippingQuoteRequest | [optional] |
\DigitalRiver\ApiSdk\Model\ShippingQuoteResponse
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]