All URIs are relative to http://localhost/rest/default
Method | HTTP request | Description |
---|---|---|
quote_cart_total_repository_v1_get_get | GET /V1/carts/{cartId}/totals | |
quote_cart_total_repository_v1_get_get_0 | GET /V1/carts/mine/totals |
QuoteDataTotalsInterface quote_cart_total_repository_v1_get_get(cart_id)
Returns quote totals data for a specified cart.
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.QuoteCartTotalRepositoryV1Api()
cart_id = 56 # int | The cart ID.
try:
api_response = api_instance.quote_cart_total_repository_v1_get_get(cart_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling QuoteCartTotalRepositoryV1Api->quote_cart_total_repository_v1_get_get: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
cart_id | int | The cart ID. |
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
QuoteDataTotalsInterface quote_cart_total_repository_v1_get_get_0()
Returns quote totals data for a specified cart.
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.QuoteCartTotalRepositoryV1Api()
try:
api_response = api_instance.quote_cart_total_repository_v1_get_get_0()
pprint(api_response)
except ApiException as e:
print("Exception when calling QuoteCartTotalRepositoryV1Api->quote_cart_total_repository_v1_get_get_0: %s\n" % e)
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]