Magento 2 : how to add additional information in rest API response?REST Api Products response not showing extension attributesHow to insert data in custom table using REST API in Magento2Magento rest api not retrieve customer listMagento REST API access using store idcould not found detail of the product using REST APIAdd products via REST API to Magento 2 webshopHow to load another language variables by REST APIHow to add only address through REST APIHow to specific pass fields in custom rest api for get product InformationMagento 2.3 V1/Search with sortOrders not working in REST API
"Oh no!" in Latin
1 John in Luther’s Bibel
Has the laser at Magurele, Romania reached a tenth of the Sun's power?
Travelling in US for more than 90 days
How to split IPA spelling into syllables
Strange behavior in TikZ draw command
Why does a 97 / 92 key piano exist by Bosendorfer?
categorizing a variable turns it from insignificant to significant
New Order #2: Turn My Way
Why is "la Gestapo" feminine?
Did I make a mistake by ccing email to boss to others?
Are hand made posters acceptable in Academia?
PTIJ: Which Dr. Seuss books should one obtain?
How can I, as DM, avoid the Conga Line of Death occurring when implementing some form of flanking rule?
Does capillary rise violate hydrostatic paradox?
Started in 1987 vs. Starting in 1987
Extract substring according to regexp with sed or grep
Showing mass murder in a kid's book
Capacitor electron flow
Why can't I get pgrep output right to variable on bash script?
How do you justify more code being written by following clean code practices?
When is the exact date for EOL of Ubuntu 14.04 LTS?
Taking the numerator and the denominator
How do I lift the insulation blower into the attic?
Magento 2 : how to add additional information in rest API response?
REST Api Products response not showing extension attributesHow to insert data in custom table using REST API in Magento2Magento rest api not retrieve customer listMagento REST API access using store idcould not found detail of the product using REST APIAdd products via REST API to Magento 2 webshopHow to load another language variables by REST APIHow to add only address through REST APIHow to specific pass fields in custom rest api for get product InformationMagento 2.3 V1/Search with sortOrders not working in REST API
I have one custom table 'vendor_info' with 5 fields and I want to add this table data along with this API http://www.hostname.com/rest/V1/products?searchCriteria
magento2 api rest-api magento2.2.3
add a comment |
I have one custom table 'vendor_info' with 5 fields and I want to add this table data along with this API http://www.hostname.com/rest/V1/products?searchCriteria
magento2 api rest-api magento2.2.3
add a comment |
I have one custom table 'vendor_info' with 5 fields and I want to add this table data along with this API http://www.hostname.com/rest/V1/products?searchCriteria
magento2 api rest-api magento2.2.3
I have one custom table 'vendor_info' with 5 fields and I want to add this table data along with this API http://www.hostname.com/rest/V1/products?searchCriteria
magento2 api rest-api magento2.2.3
magento2 api rest-api magento2.2.3
edited 17 hours ago
magefms
1,8321425
1,8321425
asked 17 hours ago
user4536user4536
5312
5312
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
You can achieve it using 2 ways
Search Criteria join processors
Adding extension attributes , you can write after plugin get and getList methods to get value corresponding value of vendor_info for the products and set extension attribute to them
You can get detail reference from these links Reference 1 Reference 2
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%2f266480%2fmagento-2-how-to-add-additional-information-in-rest-api-response%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 can achieve it using 2 ways
Search Criteria join processors
Adding extension attributes , you can write after plugin get and getList methods to get value corresponding value of vendor_info for the products and set extension attribute to them
You can get detail reference from these links Reference 1 Reference 2
add a comment |
You can achieve it using 2 ways
Search Criteria join processors
Adding extension attributes , you can write after plugin get and getList methods to get value corresponding value of vendor_info for the products and set extension attribute to them
You can get detail reference from these links Reference 1 Reference 2
add a comment |
You can achieve it using 2 ways
Search Criteria join processors
Adding extension attributes , you can write after plugin get and getList methods to get value corresponding value of vendor_info for the products and set extension attribute to them
You can get detail reference from these links Reference 1 Reference 2
You can achieve it using 2 ways
Search Criteria join processors
Adding extension attributes , you can write after plugin get and getList methods to get value corresponding value of vendor_info for the products and set extension attribute to them
You can get detail reference from these links Reference 1 Reference 2
answered 14 hours ago
Vishwas BhatnagarVishwas Bhatnagar
2,91122045
2,91122045
add a comment |
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%2f266480%2fmagento-2-how-to-add-additional-information-in-rest-api-response%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