not getting child product for bundle product, using Magento 2 REST APIMagento 2: How to Override Abstract Class for Product Category Indexing Issue?Magento 2 Class CatalogModelProductAttributeBackendMedia does not existM2: Why My Observer Is Not Firing For API CallsMagento 2 : Created Custom Product Attribute but Not showing in Configuration SectionHow to get Default Quantity of child product of Bundle Product in Magento 2Catalog page product not showing in magento 2.1.3After we run the data-migration tool in Magento 2, MSRP(click for price) will not work

How can saying a song's name be a copyright violation?

What mechanic is there to disable a threat instead of killing it?

Is it acceptable for a professor to tell male students to not think that they are smarter than female students?

What does “the session was packed” mean in this context?

How could indestructible materials be used in power generation?

In 'Revenger,' what does 'cove' come from?

iPad being using in wall mount battery swollen

How do conventional missiles fly?

Why is consensus so controversial in Britain?

Watching something be piped to a file live with tail

Would Slavery Reparations be considered Bills of Attainder and hence Illegal?

What's the in-universe reasoning behind sorcerers needing material components?

Reverse dictionary where values are lists

How to show a landlord what we have in savings?

Why is this clock signal connected to a capacitor to gnd?

What is a romance in Latin?

Why would the Red Woman birth a shadow if she worshipped the Lord of the Light?

Is it inappropriate for a student to attend their mentor's dissertation defense?

Mathematica command that allows it to read my intentions

Alternative to sending password over mail?

If human space travel is limited by the G force vulnerability, is there a way to counter G forces?

Assassin's bullet with mercury

Forgetting the musical notes while performing in concert

Expand and Contract



not getting child product for bundle product, using Magento 2 REST API


Magento 2: How to Override Abstract Class for Product Category Indexing Issue?Magento 2 Class CatalogModelProductAttributeBackendMedia does not existM2: Why My Observer Is Not Firing For API CallsMagento 2 : Created Custom Product Attribute but Not showing in Configuration SectionHow to get Default Quantity of child product of Bundle Product in Magento 2Catalog page product not showing in magento 2.1.3After we run the data-migration tool in Magento 2, MSRP(click for price) will not work













0















I am trying to get child products for a bundle product using Magento 2 REST api /V1/bundle-products/productSku/children. But it always return empty array



 "extension_attributes": 
"bundle_product_options": [

"option_id": 76,
"title": "curriculum2",
"required": true,
"type": "checkbox",
"position": 1,
"sku": "f2f89c0ef1-5f0a47c874",
"product_links": []

]


I have tried to get details using product details api too but no success.
When i login to magento admin i can see the child product in same bundle product.



Can any one help me finding what i should do?










share|improve this question




























    0















    I am trying to get child products for a bundle product using Magento 2 REST api /V1/bundle-products/productSku/children. But it always return empty array



     "extension_attributes": 
    "bundle_product_options": [

    "option_id": 76,
    "title": "curriculum2",
    "required": true,
    "type": "checkbox",
    "position": 1,
    "sku": "f2f89c0ef1-5f0a47c874",
    "product_links": []

    ]


    I have tried to get details using product details api too but no success.
    When i login to magento admin i can see the child product in same bundle product.



    Can any one help me finding what i should do?










    share|improve this question


























      0












      0








      0








      I am trying to get child products for a bundle product using Magento 2 REST api /V1/bundle-products/productSku/children. But it always return empty array



       "extension_attributes": 
      "bundle_product_options": [

      "option_id": 76,
      "title": "curriculum2",
      "required": true,
      "type": "checkbox",
      "position": 1,
      "sku": "f2f89c0ef1-5f0a47c874",
      "product_links": []

      ]


      I have tried to get details using product details api too but no success.
      When i login to magento admin i can see the child product in same bundle product.



      Can any one help me finding what i should do?










      share|improve this question
















      I am trying to get child products for a bundle product using Magento 2 REST api /V1/bundle-products/productSku/children. But it always return empty array



       "extension_attributes": 
      "bundle_product_options": [

      "option_id": 76,
      "title": "curriculum2",
      "required": true,
      "type": "checkbox",
      "position": 1,
      "sku": "f2f89c0ef1-5f0a47c874",
      "product_links": []

      ]


      I have tried to get details using product details api too but no success.
      When i login to magento admin i can see the child product in same bundle product.



      Can any one help me finding what i should do?







      magento-2.1.3






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 2 days ago









      Muhammad Anas

      350115




      350115










      asked Apr 27 '17 at 5:12









      Nikhil JoshiNikhil Joshi

      11




      11




















          1 Answer
          1






          active

          oldest

          votes


















          3














          If you want to get child products of bundle products. Make sure your child(Simple) products have Quantity and its in stock



          1 ) If you want to get only child products of bundle product then Follow below steps :



          Url = http://test.com/index.php/rest/V1/bundle-products/24-WG080/children



          Sku - 24-WG080 (replace with your bundle products sku )



          Children - it will get all children products of that bundle product.



          2) If you want to get bundle products along with its child products then Follow below steps :



          Url = http://test.com/index.php/rest/V1/products/24-WG080/



          Sku - 24-WG080 (replace with your bundle products sku )



          Output will be bundle products along with its child product.



          Note: Make sure your child products have Quantity and its In Stock






          share|improve this answer























          • sure i will look for the steps, thanks again.

            – Nikhil Joshi
            May 10 '17 at 13:18











          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%2f171951%2fnot-getting-child-product-for-bundle-product-using-magento-2-rest-api%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









          3














          If you want to get child products of bundle products. Make sure your child(Simple) products have Quantity and its in stock



          1 ) If you want to get only child products of bundle product then Follow below steps :



          Url = http://test.com/index.php/rest/V1/bundle-products/24-WG080/children



          Sku - 24-WG080 (replace with your bundle products sku )



          Children - it will get all children products of that bundle product.



          2) If you want to get bundle products along with its child products then Follow below steps :



          Url = http://test.com/index.php/rest/V1/products/24-WG080/



          Sku - 24-WG080 (replace with your bundle products sku )



          Output will be bundle products along with its child product.



          Note: Make sure your child products have Quantity and its In Stock






          share|improve this answer























          • sure i will look for the steps, thanks again.

            – Nikhil Joshi
            May 10 '17 at 13:18















          3














          If you want to get child products of bundle products. Make sure your child(Simple) products have Quantity and its in stock



          1 ) If you want to get only child products of bundle product then Follow below steps :



          Url = http://test.com/index.php/rest/V1/bundle-products/24-WG080/children



          Sku - 24-WG080 (replace with your bundle products sku )



          Children - it will get all children products of that bundle product.



          2) If you want to get bundle products along with its child products then Follow below steps :



          Url = http://test.com/index.php/rest/V1/products/24-WG080/



          Sku - 24-WG080 (replace with your bundle products sku )



          Output will be bundle products along with its child product.



          Note: Make sure your child products have Quantity and its In Stock






          share|improve this answer























          • sure i will look for the steps, thanks again.

            – Nikhil Joshi
            May 10 '17 at 13:18













          3












          3








          3







          If you want to get child products of bundle products. Make sure your child(Simple) products have Quantity and its in stock



          1 ) If you want to get only child products of bundle product then Follow below steps :



          Url = http://test.com/index.php/rest/V1/bundle-products/24-WG080/children



          Sku - 24-WG080 (replace with your bundle products sku )



          Children - it will get all children products of that bundle product.



          2) If you want to get bundle products along with its child products then Follow below steps :



          Url = http://test.com/index.php/rest/V1/products/24-WG080/



          Sku - 24-WG080 (replace with your bundle products sku )



          Output will be bundle products along with its child product.



          Note: Make sure your child products have Quantity and its In Stock






          share|improve this answer













          If you want to get child products of bundle products. Make sure your child(Simple) products have Quantity and its in stock



          1 ) If you want to get only child products of bundle product then Follow below steps :



          Url = http://test.com/index.php/rest/V1/bundle-products/24-WG080/children



          Sku - 24-WG080 (replace with your bundle products sku )



          Children - it will get all children products of that bundle product.



          2) If you want to get bundle products along with its child products then Follow below steps :



          Url = http://test.com/index.php/rest/V1/products/24-WG080/



          Sku - 24-WG080 (replace with your bundle products sku )



          Output will be bundle products along with its child product.



          Note: Make sure your child products have Quantity and its In Stock







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Apr 27 '17 at 6:12









          Manthan DaveManthan Dave

          7,97621539




          7,97621539












          • sure i will look for the steps, thanks again.

            – Nikhil Joshi
            May 10 '17 at 13:18

















          • sure i will look for the steps, thanks again.

            – Nikhil Joshi
            May 10 '17 at 13:18
















          sure i will look for the steps, thanks again.

          – Nikhil Joshi
          May 10 '17 at 13:18





          sure i will look for the steps, thanks again.

          – Nikhil Joshi
          May 10 '17 at 13:18

















          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%2f171951%2fnot-getting-child-product-for-bundle-product-using-magento-2-rest-api%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