Need to fetch custom customer attribute load via SOAP API 'customerCustomerRepositoryV1' Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?How to use extension attributes for customer EAV attributes?Magento-2 SOAP API can't create customercreate customer in magento via SOAP APIandroid magento - customer login(authentication) using SOAP APIhow to get magento2 wsdl XML structureMagento 2 Customer Api Custom AttributeCorrect way of creating custom SOAP API magento2Magento-2 SOAP API can't create customerUsing magento2 Soap api in .NETSOAP-ERROR: Parsing WSDL: Couldn't load from URL Failed to load External Entitycustom api to create customer in Magento2Add Customer Attribute using REST API in 2.3.1
Does using the Inspiration rules for character defects encourage My Guy Syndrome?
What helicopter has the most rotor blades?
How can I wire a 9-position switch so that each position turns on one more LED than the one before?
Why did Israel vote against lifting the American embargo on Cuba?
What is the ongoing value of the Kanban board to the developers as opposed to management
Is it accepted to use working hours to read general interest books?
Was there ever a LEGO store in Miami International Airport?
Where to find documentation for `whois` command options?
How do I deal with an erroneously large refund?
Why does the Cisco show run command not show the full version, while the show version command does?
When I export an AI 300x60 art board it saves with bigger dimensions
Determinant of a matrix with 2 equal rows
Philosophers who were composers?
What *exactly* is electrical current, voltage, and resistance?
Is Bran literally the world's memory?
Why I cannot instantiate a class whose constructor is private in a friend class?
What is a 'Key' in computer science?
How was Lagrange appointed professor of mathematics so early?
Are these square matrices always diagonalisable?
Why does Java have support for time zone offsets with seconds precision?
What does the black goddess statue do and what is it?
Co-worker works way more than he should
Why is arima in R one time step off?
Getting AggregateResult variables from Execute Anonymous Window
Need to fetch custom customer attribute load via SOAP API 'customerCustomerRepositoryV1'
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?How to use extension attributes for customer EAV attributes?Magento-2 SOAP API can't create customercreate customer in magento via SOAP APIandroid magento - customer login(authentication) using SOAP APIhow to get magento2 wsdl XML structureMagento 2 Customer Api Custom AttributeCorrect way of creating custom SOAP API magento2Magento-2 SOAP API can't create customerUsing magento2 Soap api in .NETSOAP-ERROR: Parsing WSDL: Couldn't load from URL Failed to load External Entitycustom api to create customer in Magento2Add Customer Attribute using REST API in 2.3.1
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I used SOAP API '$baseUrlsoap/default?wsdl&services=customerCustomerRepositoryV1'
to get customer attributes values. I am successfully getting these attributes values like name, email etc all default values but i have not able to get custom customer attributes
magento2 customer rest-api
add a comment |
I used SOAP API '$baseUrlsoap/default?wsdl&services=customerCustomerRepositoryV1'
to get customer attributes values. I am successfully getting these attributes values like name, email etc all default values but i have not able to get custom customer attributes
magento2 customer rest-api
add a comment |
I used SOAP API '$baseUrlsoap/default?wsdl&services=customerCustomerRepositoryV1'
to get customer attributes values. I am successfully getting these attributes values like name, email etc all default values but i have not able to get custom customer attributes
magento2 customer rest-api
I used SOAP API '$baseUrlsoap/default?wsdl&services=customerCustomerRepositoryV1'
to get customer attributes values. I am successfully getting these attributes values like name, email etc all default values but i have not able to get custom customer attributes
magento2 customer rest-api
magento2 customer rest-api
edited Apr 19 at 10:47
Rizwan
967526
967526
asked Apr 19 at 10:44
ArjunArjun
1,914826
1,914826
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
You have to use extension attribute concept for enable a custom attribute to API .
How to use extension attributes for customer EAV attributes?
Add this attribute as extension attribute using extension_attribute.xml. Create this file at your app/code/VendorName/Module/etc
and add below code
<?xml version="1.0" encoding="UTF-8"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Api/etc/extension_attributes.xsd">
<extension_attributes for="MagentoCustomerApiDataCustomerInterface">
<attribute code="YOurAttributeCode" type="string" />
</extension_attributes>
</config>
Type is depend on attribute type, if it is a Varchar & text,multiselect field, then use string
. If it is drop down,Yes/no then use as interger
.
Thanks @Amit for answer i would like to know one more thing i am using this script for create customer (magento.stackexchange.com/questions/173722/…) & i need to add custom customer attribute data to it. How can i achieve this?
– Arjun
yesterday
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f270782%2fneed-to-fetch-custom-customer-attribute-load-via-soap-api-customercustomerrepos%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You have to use extension attribute concept for enable a custom attribute to API .
How to use extension attributes for customer EAV attributes?
Add this attribute as extension attribute using extension_attribute.xml. Create this file at your app/code/VendorName/Module/etc
and add below code
<?xml version="1.0" encoding="UTF-8"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Api/etc/extension_attributes.xsd">
<extension_attributes for="MagentoCustomerApiDataCustomerInterface">
<attribute code="YOurAttributeCode" type="string" />
</extension_attributes>
</config>
Type is depend on attribute type, if it is a Varchar & text,multiselect field, then use string
. If it is drop down,Yes/no then use as interger
.
Thanks @Amit for answer i would like to know one more thing i am using this script for create customer (magento.stackexchange.com/questions/173722/…) & i need to add custom customer attribute data to it. How can i achieve this?
– Arjun
yesterday
add a comment |
You have to use extension attribute concept for enable a custom attribute to API .
How to use extension attributes for customer EAV attributes?
Add this attribute as extension attribute using extension_attribute.xml. Create this file at your app/code/VendorName/Module/etc
and add below code
<?xml version="1.0" encoding="UTF-8"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Api/etc/extension_attributes.xsd">
<extension_attributes for="MagentoCustomerApiDataCustomerInterface">
<attribute code="YOurAttributeCode" type="string" />
</extension_attributes>
</config>
Type is depend on attribute type, if it is a Varchar & text,multiselect field, then use string
. If it is drop down,Yes/no then use as interger
.
Thanks @Amit for answer i would like to know one more thing i am using this script for create customer (magento.stackexchange.com/questions/173722/…) & i need to add custom customer attribute data to it. How can i achieve this?
– Arjun
yesterday
add a comment |
You have to use extension attribute concept for enable a custom attribute to API .
How to use extension attributes for customer EAV attributes?
Add this attribute as extension attribute using extension_attribute.xml. Create this file at your app/code/VendorName/Module/etc
and add below code
<?xml version="1.0" encoding="UTF-8"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Api/etc/extension_attributes.xsd">
<extension_attributes for="MagentoCustomerApiDataCustomerInterface">
<attribute code="YOurAttributeCode" type="string" />
</extension_attributes>
</config>
Type is depend on attribute type, if it is a Varchar & text,multiselect field, then use string
. If it is drop down,Yes/no then use as interger
.
You have to use extension attribute concept for enable a custom attribute to API .
How to use extension attributes for customer EAV attributes?
Add this attribute as extension attribute using extension_attribute.xml. Create this file at your app/code/VendorName/Module/etc
and add below code
<?xml version="1.0" encoding="UTF-8"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Api/etc/extension_attributes.xsd">
<extension_attributes for="MagentoCustomerApiDataCustomerInterface">
<attribute code="YOurAttributeCode" type="string" />
</extension_attributes>
</config>
Type is depend on attribute type, if it is a Varchar & text,multiselect field, then use string
. If it is drop down,Yes/no then use as interger
.
answered Apr 21 at 3:05
Amit Bera♦Amit Bera
60.2k1678178
60.2k1678178
Thanks @Amit for answer i would like to know one more thing i am using this script for create customer (magento.stackexchange.com/questions/173722/…) & i need to add custom customer attribute data to it. How can i achieve this?
– Arjun
yesterday
add a comment |
Thanks @Amit for answer i would like to know one more thing i am using this script for create customer (magento.stackexchange.com/questions/173722/…) & i need to add custom customer attribute data to it. How can i achieve this?
– Arjun
yesterday
Thanks @Amit for answer i would like to know one more thing i am using this script for create customer (magento.stackexchange.com/questions/173722/…) & i need to add custom customer attribute data to it. How can i achieve this?
– Arjun
yesterday
Thanks @Amit for answer i would like to know one more thing i am using this script for create customer (magento.stackexchange.com/questions/173722/…) & i need to add custom customer attribute data to it. How can i achieve this?
– Arjun
yesterday
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f270782%2fneed-to-fetch-custom-customer-attribute-load-via-soap-api-customercustomerrepos%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown