SpringImport\Swagger\Magento2\Client\CustomerCustomerMetadataV1Api

May 18, 2017 ยท View on GitHub

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

MethodHTTP requestDescription
customerCustomerMetadataV1GetAllAttributesMetadataGetGET /V1/attributeMetadata/customer
customerCustomerMetadataV1GetAttributeMetadataGetGET /V1/attributeMetadata/customer/attribute/{attributeCode}
customerCustomerMetadataV1GetAttributesGetGET /V1/attributeMetadata/customer/form/{formCode}
customerCustomerMetadataV1GetCustomAttributesMetadataGetGET /V1/attributeMetadata/customer/custom

customerCustomerMetadataV1GetAllAttributesMetadataGet

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

Get all attribute metadata.

Example

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

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

try {
    $result = $api_instance->customerCustomerMetadataV1GetAllAttributesMetadataGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CustomerCustomerMetadataV1Api->customerCustomerMetadataV1GetAllAttributesMetadataGet: ', $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]

customerCustomerMetadataV1GetAttributeMetadataGet

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

Retrieve attribute metadata.

Example

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

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

try {
    $result = $api_instance->customerCustomerMetadataV1GetAttributeMetadataGet($attributeCode);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CustomerCustomerMetadataV1Api->customerCustomerMetadataV1GetAttributeMetadataGet: ', $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]

customerCustomerMetadataV1GetAttributesGet

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

Retrieve all attributes filtered by form code

Example

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

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

try {
    $result = $api_instance->customerCustomerMetadataV1GetAttributesGet($formCode);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CustomerCustomerMetadataV1Api->customerCustomerMetadataV1GetAttributesGet: ', $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]

customerCustomerMetadataV1GetCustomAttributesMetadataGet

\SpringImport\Swagger\Magento2\Client\Model\CustomerDataAttributeMetadataInterface[] customerCustomerMetadataV1GetCustomAttributesMetadataGet($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\CustomerCustomerMetadataV1Api();
$dataInterfaceName = "dataInterfaceName_example"; // string | 

try {
    $result = $api_instance->customerCustomerMetadataV1GetCustomAttributesMetadataGet($dataInterfaceName);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CustomerCustomerMetadataV1Api->customerCustomerMetadataV1GetCustomAttributesMetadataGet: ', $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]