Skip to content

Latest commit

 

History

History
56 lines (36 loc) · 1.66 KB

QuoteGuestCartTotalRepositoryV1Api.md

File metadata and controls

56 lines (36 loc) · 1.66 KB

swagger_client.QuoteGuestCartTotalRepositoryV1Api

All URIs are relative to http://localhost/rest/default

Method HTTP request Description
quote_guest_cart_total_repository_v1_get_get GET /V1/guest-carts/{cartId}/totals

quote_guest_cart_total_repository_v1_get_get

QuoteDataTotalsInterface quote_guest_cart_total_repository_v1_get_get(cart_id)

Return quote totals data for a specified cart.

Example

from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.QuoteGuestCartTotalRepositoryV1Api()
cart_id = 'cart_id_example' # str | The cart ID.

try: 
    api_response = api_instance.quote_guest_cart_total_repository_v1_get_get(cart_id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling QuoteGuestCartTotalRepositoryV1Api->quote_guest_cart_total_repository_v1_get_get: %s\n" % e)

Parameters

Name Type Description Notes
cart_id str The cart ID.

Return type

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]