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 |
QuoteDataTotalsInterface checkout_guest_totals_information_management_v1_calculate_post(cart_id, body=body)
Calculate quote totals based on address and shipping method.
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)
Name | Type | Description | Notes |
---|---|---|---|
cart_id | str | ||
body | Body114 | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]