Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8724959
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T07:56:01+00:00 2026-06-13T07:56:01+00:00

Hi i’m using magento soap api v2 with c#. Do far I have been

  • 0

Hi i’m using magento soap api v2 with c#. Do far I have been calling

 var groupedProducts = magentoService.catalogProductLinkList(sessionId, "grouped", id, "productId");

that does return grouped Products, but instead I would like to retrieve simple products such as green large t-shirt which is associated with configurable t-shirt.

How can this be achieved?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T07:56:01+00:00Added an answer on June 13, 2026 at 7:56 am

    Unfortunatelly that’s not possible with the magento SOAP api. You are not able to retrieve child products of a parent product via the api. Believe me, I have tackled this myself some time ago. I can suggest 2 fixes and 1 workaround.

    Workaround – Try to retrieve child products by sku or name. This can work provided that all your child products use the parent’s name or sku as the prefix. That’s how I resolved it in the beginning and it worked well as long as the client did not introduce child product names that did not match the parent name. Here’s some sample code:

    //fetch configurable products
    filters filter = new filters();
    filter.filter = new associativeEntity[1];
    filter.filter[0] = new associativeEntity();
    filter.filter[0].key = "type_id";
    filter.filter[0].value = "configurable";
    
    //get all configurable products
    var configurableProducts = service.catalogProductList(sessionID, filter, storeView);
    
    foreach (var parent in configurableProducts)
    {
        filters filter = new filters();
        filter.filter = new associativeEntity[1];
        filter.filter[0] = new associativeEntity();
        filter.filter[0].key = "type_id";
        filter.filter[0].value = "configurable";
        filter.complex_filter = new complexFilter[1];
        filter.complex_filter[0] = new complexFilter();
        filter.complex_filter[0].key = "sku";
        filter.complex_filter[0].value = new associativeEntity() { key="LIKE", value=parent.sku + "%" };
    
        var simpleProducts = service.catalogProductList(sessionID, filter, storeView);
    
        //do whatever you need with the simple products
    
    }
    

    Fix #1 – Free – Write your own api extension. To retrieve child products you could use:

    $childProducts = Mage::getModel('catalog/product_type_configurable')->getUsedProducts(null, $product);
    

    You then send the results to the api caller and all should be well. I have not tried that myself, though, so I’m not sure if there are any other problems on the way.

    Fix #2 – Paid – Get the (excellent, but pricey) CoreAPI extension from netzkollektiv. That’s what I did when the workaround stopped working out for me and never regretted this decision.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have an MVC Razor view @{ ViewBag.Title = Index; var c = (char)146;
I have thousands of HTML files to process using Groovy/Java and I need to
I'm making a simple page using Google Maps API 3. My first. One marker
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
That's pretty much it. I'm using Nokogiri to scrape a web page what has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
I have a small JavaScript validation script that validates inputs based on Regex. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.