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













0















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










share|improve this question




























    0















    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










    share|improve this question


























      0












      0








      0








      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










      share|improve this question
















      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 17 hours ago









      magefms

      1,8321425




      1,8321425










      asked 17 hours ago









      user4536user4536

      5312




      5312




















          1 Answer
          1






          active

          oldest

          votes


















          0














          You can achieve it using 2 ways



          1. Search Criteria join processors


          2. 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






          share|improve this answer






















            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
            );



            );













            draft saved

            draft discarded


















            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









            0














            You can achieve it using 2 ways



            1. Search Criteria join processors


            2. 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






            share|improve this answer



























              0














              You can achieve it using 2 ways



              1. Search Criteria join processors


              2. 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






              share|improve this answer

























                0












                0








                0







                You can achieve it using 2 ways



                1. Search Criteria join processors


                2. 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






                share|improve this answer













                You can achieve it using 2 ways



                1. Search Criteria join processors


                2. 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







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 14 hours ago









                Vishwas BhatnagarVishwas Bhatnagar

                2,91122045




                2,91122045



























                    draft saved

                    draft discarded
















































                    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.




                    draft saved


                    draft discarded














                    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





















































                    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







                    Popular posts from this blog

                    Sum ergo cogito? 1 nng

                    419 nièngy_Soadمي 19bal1.5o_g

                    Queiggey Chernihivv 9NnOo i Zw X QqKk LpB