SpringImport\Swagger\Magento2\Client\CustomerAddressMetadataV1Api

May 18, 2017 ยท View on GitHub

All URIs are relative to http://t213.vg/rest/default

MethodHTTP requestDescription
customerAddressMetadataV1GetAllAttributesMetadataGetGET /V1/attributeMetadata/customerAddress
customerAddressMetadataV1GetAttributeMetadataGetGET /V1/attributeMetadata/customerAddress/attribute/{attributeCode}
customerAddressMetadataV1GetAttributesGetGET /V1/attributeMetadata/customerAddress/form/{formCode}
customerAddressMetadataV1GetCustomAttributesMetadataGetGET /V1/attributeMetadata/customerAddress/custom

customerAddressMetadataV1GetAllAttributesMetadataGet

\SpringImport\Swagger\Magento2\Client\Model\CustomerDataAttributeMetadataInterface[] customerAddressMetadataV1GetAllAttributesMetadataGet()

Get all attribute metadata.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new SpringImport\Swagger\Magento2\Client\Api\CustomerAddressMetadataV1Api();

try {
    $result = $api_instance->customerAddressMetadataV1GetAllAttributesMetadataGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CustomerAddressMetadataV1Api->customerAddressMetadataV1GetAllAttributesMetadataGet: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

This endpoint does not need any parameter.

Return type

\SpringImport\Swagger\Magento2\Client\Model\CustomerDataAttributeMetadataInterface[]

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

customerAddressMetadataV1GetAttributeMetadataGet

\SpringImport\Swagger\Magento2\Client\Model\CustomerDataAttributeMetadataInterface customerAddressMetadataV1GetAttributeMetadataGet($attributeCode)

Retrieve attribute metadata.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new SpringImport\Swagger\Magento2\Client\Api\CustomerAddressMetadataV1Api();
$attributeCode = "attributeCode_example"; // string | 

try {
    $result = $api_instance->customerAddressMetadataV1GetAttributeMetadataGet($attributeCode);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CustomerAddressMetadataV1Api->customerAddressMetadataV1GetAttributeMetadataGet: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

NameTypeDescriptionNotes
attributeCodestring

Return type

\SpringImport\Swagger\Magento2\Client\Model\CustomerDataAttributeMetadataInterface

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

customerAddressMetadataV1GetAttributesGet

\SpringImport\Swagger\Magento2\Client\Model\CustomerDataAttributeMetadataInterface[] customerAddressMetadataV1GetAttributesGet($formCode)

Retrieve all attributes filtered by form code

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new SpringImport\Swagger\Magento2\Client\Api\CustomerAddressMetadataV1Api();
$formCode = "formCode_example"; // string | 

try {
    $result = $api_instance->customerAddressMetadataV1GetAttributesGet($formCode);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CustomerAddressMetadataV1Api->customerAddressMetadataV1GetAttributesGet: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

NameTypeDescriptionNotes
formCodestring

Return type

\SpringImport\Swagger\Magento2\Client\Model\CustomerDataAttributeMetadataInterface[]

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

customerAddressMetadataV1GetCustomAttributesMetadataGet

\SpringImport\Swagger\Magento2\Client\Model\CustomerDataAttributeMetadataInterface[] customerAddressMetadataV1GetCustomAttributesMetadataGet($dataInterfaceName)

Get custom attributes metadata for the given data interface.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new SpringImport\Swagger\Magento2\Client\Api\CustomerAddressMetadataV1Api();
$dataInterfaceName = "dataInterfaceName_example"; // string | 

try {
    $result = $api_instance->customerAddressMetadataV1GetCustomAttributesMetadataGet($dataInterfaceName);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CustomerAddressMetadataV1Api->customerAddressMetadataV1GetCustomAttributesMetadataGet: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

NameTypeDescriptionNotes
dataInterfaceNamestring[optional]

Return type

\SpringImport\Swagger\Magento2\Client\Model\CustomerDataAttributeMetadataInterface[]

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]