All URIs are relative to http://localhost/rest/default
| Method | HTTP request | Description |
|---|---|---|
| checkout_guest_payment_information_management_v1_get_payment_information_get | GET /V1/guest-carts/{cartId}/payment-information | |
| checkout_guest_payment_information_management_v1_save_payment_information_and_place_order_post | POST /V1/guest-carts/{cartId}/payment-information | |
| checkout_guest_payment_information_management_v1_save_payment_information_post | POST /V1/guest-carts/{cartId}/set-payment-information |
CheckoutDataPaymentDetailsInterface checkout_guest_payment_information_management_v1_get_payment_information_get(cart_id)
Get payment information
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.CheckoutGuestPaymentInformationManagementV1Api()
cart_id = 'cart_id_example' # str |
try:
api_response = api_instance.checkout_guest_payment_information_management_v1_get_payment_information_get(cart_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling CheckoutGuestPaymentInformationManagementV1Api->checkout_guest_payment_information_management_v1_get_payment_information_get: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| cart_id | str |
CheckoutDataPaymentDetailsInterface
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
int checkout_guest_payment_information_management_v1_save_payment_information_and_place_order_post(cart_id, body=body)
Set payment information and place order 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.CheckoutGuestPaymentInformationManagementV1Api()
cart_id = 'cart_id_example' # str |
body = swagger_client.Body115() # Body115 | (optional)
try:
api_response = api_instance.checkout_guest_payment_information_management_v1_save_payment_information_and_place_order_post(cart_id, body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling CheckoutGuestPaymentInformationManagementV1Api->checkout_guest_payment_information_management_v1_save_payment_information_and_place_order_post: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| cart_id | str | ||
| body | Body115 | [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]
int checkout_guest_payment_information_management_v1_save_payment_information_post(cart_id, body=body)
Set payment information 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.CheckoutGuestPaymentInformationManagementV1Api()
cart_id = 'cart_id_example' # str |
body = swagger_client.Body116() # Body116 | (optional)
try:
api_response = api_instance.checkout_guest_payment_information_management_v1_save_payment_information_post(cart_id, body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling CheckoutGuestPaymentInformationManagementV1Api->checkout_guest_payment_information_management_v1_save_payment_information_post: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| cart_id | str | ||
| body | Body116 | [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]