All URIs are relative to http://t213.vg/rest/default
Method | HTTP request | Description |
---|---|---|
checkoutGuestTotalsInformationManagementV1CalculatePost | POST /V1/guest-carts/{cartId}/totals-information |
\SpringImport\Swagger\Magento2\Client\Model\QuoteDataTotalsInterface checkoutGuestTotalsInformationManagementV1CalculatePost($cartId, $body)
Calculate quote totals based on address and shipping method.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new SpringImport\Swagger\Magento2\Client\Api\CheckoutGuestTotalsInformationManagementV1Api();
$cartId = "cartId_example"; // string |
$body = new \SpringImport\Swagger\Magento2\Client\Model\Body99(); // \SpringImport\Swagger\Magento2\Client\Model\Body99 |
try {
$result = $api_instance->checkoutGuestTotalsInformationManagementV1CalculatePost($cartId, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CheckoutGuestTotalsInformationManagementV1Api->checkoutGuestTotalsInformationManagementV1CalculatePost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
cartId | string | ||
body | \SpringImport\Swagger\Magento2\Client\Model\Body99 | [optional] |
\SpringImport\Swagger\Magento2\Client\Model\QuoteDataTotalsInterface
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]