All URIs are relative to http://localhost/rest/default
CustomerDataCustomerInterface customer_account_management_v1_activate_by_id_put(body=body)
Activate a customer account using a key that was sent in a confirmation email.
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.CustomerAccountManagementV1Api()
body = swagger_client.Body7() # Body7 | (optional)
try:
api_response = api_instance.customer_account_management_v1_activate_by_id_put(body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling CustomerAccountManagementV1Api->customer_account_management_v1_activate_by_id_put: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | Body7 | [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]
CustomerDataCustomerInterface customer_account_management_v1_activate_put(email, body=body)
Activate a customer account using a key that was sent in a confirmation email.
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.CustomerAccountManagementV1Api()
email = 'email_example' # str |
body = swagger_client.Body8() # Body8 | (optional)
try:
api_response = api_instance.customer_account_management_v1_activate_put(email, body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling CustomerAccountManagementV1Api->customer_account_management_v1_activate_put: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
str | |||
body | Body8 | [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]
bool customer_account_management_v1_change_password_by_id_put(body=body)
Change customer password.
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.CustomerAccountManagementV1Api()
body = swagger_client.Body9() # Body9 | (optional)
try:
api_response = api_instance.customer_account_management_v1_change_password_by_id_put(body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling CustomerAccountManagementV1Api->customer_account_management_v1_change_password_by_id_put: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | Body9 | [optional] |
bool
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CustomerDataCustomerInterface customer_account_management_v1_create_account_post(body=body)
Create customer account. Perform necessary business operations like sending email.
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.CustomerAccountManagementV1Api()
body = swagger_client.Body6() # Body6 | (optional)
try:
api_response = api_instance.customer_account_management_v1_create_account_post(body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling CustomerAccountManagementV1Api->customer_account_management_v1_create_account_post: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | Body6 | [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]
str customer_account_management_v1_get_confirmation_status_get(customer_id)
Gets the account confirmation status.
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.CustomerAccountManagementV1Api()
customer_id = 56 # int |
try:
api_response = api_instance.customer_account_management_v1_get_confirmation_status_get(customer_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling CustomerAccountManagementV1Api->customer_account_management_v1_get_confirmation_status_get: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
customer_id | int |
str
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CustomerDataAddressInterface customer_account_management_v1_get_default_billing_address_get()
Retrieve default billing address for the given customerId.
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.CustomerAccountManagementV1Api()
try:
api_response = api_instance.customer_account_management_v1_get_default_billing_address_get()
pprint(api_response)
except ApiException as e:
print("Exception when calling CustomerAccountManagementV1Api->customer_account_management_v1_get_default_billing_address_get: %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]
CustomerDataAddressInterface customer_account_management_v1_get_default_billing_address_get_0(customer_id)
Retrieve default billing address for the given customerId.
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.CustomerAccountManagementV1Api()
customer_id = 56 # int |
try:
api_response = api_instance.customer_account_management_v1_get_default_billing_address_get_0(customer_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling CustomerAccountManagementV1Api->customer_account_management_v1_get_default_billing_address_get_0: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
customer_id | 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]
CustomerDataAddressInterface customer_account_management_v1_get_default_shipping_address_get()
Retrieve default shipping address for the given customerId.
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.CustomerAccountManagementV1Api()
try:
api_response = api_instance.customer_account_management_v1_get_default_shipping_address_get()
pprint(api_response)
except ApiException as e:
print("Exception when calling CustomerAccountManagementV1Api->customer_account_management_v1_get_default_shipping_address_get: %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]
CustomerDataAddressInterface customer_account_management_v1_get_default_shipping_address_get_0(customer_id)
Retrieve default shipping address for the given customerId.
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.CustomerAccountManagementV1Api()
customer_id = 56 # int |
try:
api_response = api_instance.customer_account_management_v1_get_default_shipping_address_get_0(customer_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling CustomerAccountManagementV1Api->customer_account_management_v1_get_default_shipping_address_get_0: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
customer_id | 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]
bool customer_account_management_v1_initiate_password_reset_put(body=body)
Send an email to the customer with a password reset link.
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.CustomerAccountManagementV1Api()
body = swagger_client.Body10() # Body10 | (optional)
try:
api_response = api_instance.customer_account_management_v1_initiate_password_reset_put(body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling CustomerAccountManagementV1Api->customer_account_management_v1_initiate_password_reset_put: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | Body10 | [optional] |
bool
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
bool customer_account_management_v1_is_email_available_post(body=body)
Check if given email is associated with a customer account in given website.
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.CustomerAccountManagementV1Api()
body = swagger_client.Body13() # Body13 | (optional)
try:
api_response = api_instance.customer_account_management_v1_is_email_available_post(body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling CustomerAccountManagementV1Api->customer_account_management_v1_is_email_available_post: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | Body13 | [optional] |
bool
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
bool customer_account_management_v1_is_readonly_get(customer_id)
Check if customer can be deleted.
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.CustomerAccountManagementV1Api()
customer_id = 56 # int |
try:
api_response = api_instance.customer_account_management_v1_is_readonly_get(customer_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling CustomerAccountManagementV1Api->customer_account_management_v1_is_readonly_get: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
customer_id | int |
bool
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
bool customer_account_management_v1_resend_confirmation_post(body=body)
Resend confirmation email.
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.CustomerAccountManagementV1Api()
body = swagger_client.Body11() # Body11 | (optional)
try:
api_response = api_instance.customer_account_management_v1_resend_confirmation_post(body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling CustomerAccountManagementV1Api->customer_account_management_v1_resend_confirmation_post: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | Body11 | [optional] |
bool
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CustomerDataValidationResultsInterface customer_account_management_v1_validate_put(body=body)
Validate customer data.
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.CustomerAccountManagementV1Api()
body = swagger_client.Body12() # Body12 | (optional)
try:
api_response = api_instance.customer_account_management_v1_validate_put(body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling CustomerAccountManagementV1Api->customer_account_management_v1_validate_put: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | Body12 | [optional] |
CustomerDataValidationResultsInterface
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
bool customer_account_management_v1_validate_reset_password_link_token_get(customer_id, reset_password_link_token)
Check if password reset token is valid.
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.CustomerAccountManagementV1Api()
customer_id = 56 # int |
reset_password_link_token = 'reset_password_link_token_example' # str |
try:
api_response = api_instance.customer_account_management_v1_validate_reset_password_link_token_get(customer_id, reset_password_link_token)
pprint(api_response)
except ApiException as e:
print("Exception when calling CustomerAccountManagementV1Api->customer_account_management_v1_validate_reset_password_link_token_get: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
customer_id | int | ||
reset_password_link_token | str |
bool
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]