SpringImport\Swagger\Magento2\Client\QuoteGuestCartTotalRepositoryV1Api

May 18, 2017 ยท View on GitHub

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

MethodHTTP requestDescription
quoteGuestCartTotalRepositoryV1GetGetGET /V1/guest-carts/{cartId}/totals

quoteGuestCartTotalRepositoryV1GetGet

\SpringImport\Swagger\Magento2\Client\Model\QuoteDataTotalsInterface quoteGuestCartTotalRepositoryV1GetGet($cartId)

Return quote totals data for a specified cart.

Example

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

$api_instance = new SpringImport\Swagger\Magento2\Client\Api\QuoteGuestCartTotalRepositoryV1Api();
$cartId = "cartId_example"; // string | The cart ID.

try {
    $result = $api_instance->quoteGuestCartTotalRepositoryV1GetGet($cartId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling QuoteGuestCartTotalRepositoryV1Api->quoteGuestCartTotalRepositoryV1GetGet: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

NameTypeDescriptionNotes
cartIdstringThe cart ID.

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]