Skip to content

Latest commit

 

History

History
75 lines (46 loc) · 2.35 KB

File metadata and controls

75 lines (46 loc) · 2.35 KB

\AttributeMetadataCustomerAddressCustomAPI

All URIs are relative to http://example.com/rest/default

Method HTTP request Description
GetV1AttributeMetadataCustomerAddressCustom Get /V1/attributeMetadata/customerAddress/custom attributeMetadata/customerAddress/custom

GetV1AttributeMetadataCustomerAddressCustom

[]CustomerDataAttributeMetadataInterface GetV1AttributeMetadataCustomerAddressCustom(ctx).DataInterfaceName(dataInterfaceName).Execute()

attributeMetadata/customerAddress/custom

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/Hevelop/go-client-magento"
)

func main() {
	dataInterfaceName := "dataInterfaceName_example" // string |  (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.AttributeMetadataCustomerAddressCustomAPI.GetV1AttributeMetadataCustomerAddressCustom(context.Background()).DataInterfaceName(dataInterfaceName).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `AttributeMetadataCustomerAddressCustomAPI.GetV1AttributeMetadataCustomerAddressCustom``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `GetV1AttributeMetadataCustomerAddressCustom`: []CustomerDataAttributeMetadataInterface
	fmt.Fprintf(os.Stdout, "Response from `AttributeMetadataCustomerAddressCustomAPI.GetV1AttributeMetadataCustomerAddressCustom`: %v\n", resp)
}

Path Parameters

Other Parameters

Other parameters are passed through a pointer to a apiGetV1AttributeMetadataCustomerAddressCustomRequest struct via the builder pattern

Name Type Description Notes
dataInterfaceName string

Return type

[]CustomerDataAttributeMetadataInterface

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/xml

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