If you want to display a collection of separated, configurable products in your shop as one product, you need to add a group code to the products. You need to use different API calls to show these separate products as one in your shop:
Standard endpoint |
Grouped endpoint |
http://gateway.tweakwisenavigator.com/navigation/{key} | http://gateway.tweakwisenavigator.com/navigation/grouped/{key} |
http://gateway.tweakwisenavigator.com/navigation-search/{key}?tn_q=bloem |
http://gateway.tweakwisenavigator.com/navigation-search/grouped/{key}?tn_q=bloem |
http://gateway.tweakwisenavigator.com/autocomplete/{key}?tn_q=bloem | http://gateway.tweakwisenavigator.com/autocomplete/grouped/{key}?tn_q=bloem |
The result of this call is a little different. Here's an example of the autocomplete:
http://gateway.tweakwisenavigator.com/autocomplete/8139a7b2?tn_q=bloem
http://gateway.tweakwisenavigator.com/autocomplete/grouped/8139a7b2?tn_q=bloem
The products are retrieved grouped. The rest of the API's structure is similar to the standard call.
Furthermore, you can use the grouped and standard functionality interchangeably if you want to. That means you can still use the standard call.