Skip to content

Latest commit

 

History

History
56 lines (36 loc) · 2.1 KB

CheckoutGuestTotalsInformationManagementV1Api.md

File metadata and controls

56 lines (36 loc) · 2.1 KB

SpringImport\Swagger\Magento2\Client\CheckoutGuestTotalsInformationManagementV1Api

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

Method HTTP request Description
checkoutGuestTotalsInformationManagementV1CalculatePost POST /V1/guest-carts/{cartId}/totals-information

checkoutGuestTotalsInformationManagementV1CalculatePost

\SpringImport\Swagger\Magento2\Client\Model\QuoteDataTotalsInterface checkoutGuestTotalsInformationManagementV1CalculatePost($cartId, $body)

Calculate quote totals based on address and shipping method.

Example

<?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;
}
?>

Parameters

Name Type Description Notes
cartId string
body \SpringImport\Swagger\Magento2\Client\Model\Body99 [optional]

Return type

\SpringImport\Swagger\Magento2\Client\Model\QuoteDataTotalsInterface

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]