All URIs are relative to http://localhost/rest/default
Method | HTTP request | Description |
---|---|---|
quote_guest_billing_address_management_v1_assign_post | POST /V1/guest-carts/{cartId}/billing-address | |
quote_guest_billing_address_management_v1_get_get | GET /V1/guest-carts/{cartId}/billing-address |
int quote_guest_billing_address_management_v1_assign_post(cart_id, body=body)
Assign a specified billing address to 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.QuoteGuestBillingAddressManagementV1Api()
cart_id = 'cart_id_example' # str | The cart ID.
body = swagger_client.Body75() # Body75 | (optional)
try:
api_response = api_instance.quote_guest_billing_address_management_v1_assign_post(cart_id, body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling QuoteGuestBillingAddressManagementV1Api->quote_guest_billing_address_management_v1_assign_post: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
cart_id | str | The cart ID. | |
body | Body75 | [optional] |
int
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
QuoteDataAddressInterface quote_guest_billing_address_management_v1_get_get(cart_id)
Return the billing address for a specified quote.
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.QuoteGuestBillingAddressManagementV1Api()
cart_id = 'cart_id_example' # str | The cart ID.
try:
api_response = api_instance.quote_guest_billing_address_management_v1_get_get(cart_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling QuoteGuestBillingAddressManagementV1Api->quote_guest_billing_address_management_v1_get_get: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
cart_id | str | 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]