All URIs are relative to http://localhost/rest/default
Method | HTTP request | Description |
---|---|---|
customer_address_metadata_v1_get_all_attributes_metadata_get | GET /V1/attributeMetadata/customerAddress | |
customer_address_metadata_v1_get_attribute_metadata_get | GET /V1/attributeMetadata/customerAddress/attribute/{attributeCode} | |
customer_address_metadata_v1_get_attributes_get | GET /V1/attributeMetadata/customerAddress/form/{formCode} | |
customer_address_metadata_v1_get_custom_attributes_metadata_get | GET /V1/attributeMetadata/customerAddress/custom |
list[CustomerDataAttributeMetadataInterface] customer_address_metadata_v1_get_all_attributes_metadata_get()
Get all attribute metadata.
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.CustomerAddressMetadataV1Api()
try:
api_response = api_instance.customer_address_metadata_v1_get_all_attributes_metadata_get()
pprint(api_response)
except ApiException as e:
print("Exception when calling CustomerAddressMetadataV1Api->customer_address_metadata_v1_get_all_attributes_metadata_get: %s\n" % e)
This endpoint does not need any parameter.
list[CustomerDataAttributeMetadataInterface]
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CustomerDataAttributeMetadataInterface customer_address_metadata_v1_get_attribute_metadata_get(attribute_code)
Retrieve attribute metadata.
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.CustomerAddressMetadataV1Api()
attribute_code = 'attribute_code_example' # str |
try:
api_response = api_instance.customer_address_metadata_v1_get_attribute_metadata_get(attribute_code)
pprint(api_response)
except ApiException as e:
print("Exception when calling CustomerAddressMetadataV1Api->customer_address_metadata_v1_get_attribute_metadata_get: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
attribute_code | str |
CustomerDataAttributeMetadataInterface
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
list[CustomerDataAttributeMetadataInterface] customer_address_metadata_v1_get_attributes_get(form_code)
Retrieve all attributes filtered by form code
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.CustomerAddressMetadataV1Api()
form_code = 'form_code_example' # str |
try:
api_response = api_instance.customer_address_metadata_v1_get_attributes_get(form_code)
pprint(api_response)
except ApiException as e:
print("Exception when calling CustomerAddressMetadataV1Api->customer_address_metadata_v1_get_attributes_get: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
form_code | str |
list[CustomerDataAttributeMetadataInterface]
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
list[CustomerDataAttributeMetadataInterface] customer_address_metadata_v1_get_custom_attributes_metadata_get(data_interface_name=data_interface_name)
Get custom attributes metadata for the given data interface.
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.CustomerAddressMetadataV1Api()
data_interface_name = 'data_interface_name_example' # str | (optional)
try:
api_response = api_instance.customer_address_metadata_v1_get_custom_attributes_metadata_get(data_interface_name=data_interface_name)
pprint(api_response)
except ApiException as e:
print("Exception when calling CustomerAddressMetadataV1Api->customer_address_metadata_v1_get_custom_attributes_metadata_get: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
data_interface_name | str | [optional] |
list[CustomerDataAttributeMetadataInterface]
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]