Skip to content

Latest commit

 

History

History
58 lines (38 loc) · 1.94 KB

CheckoutGuestTotalsInformationManagementV1Api.md

File metadata and controls

58 lines (38 loc) · 1.94 KB

swagger_client.CheckoutGuestTotalsInformationManagementV1Api

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

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

checkout_guest_totals_information_management_v1_calculate_post

QuoteDataTotalsInterface checkout_guest_totals_information_management_v1_calculate_post(cart_id, body=body)

Calculate quote totals based on address and shipping method.

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.CheckoutGuestTotalsInformationManagementV1Api()
cart_id = 'cart_id_example' # str | 
body = swagger_client.Body114() # Body114 |  (optional)

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

Parameters

Name Type Description Notes
cart_id str
body Body114 [optional]

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]