interface ProductInterface {
product_links: // (only for associated products) map to options. Note: grouped product options implement as associated links.
}
interface ProductLinksInterface { //(only for associated products that is grouped product items under the hood)
sku: // could be retrieved from variant id by the rule variantID == productID
link_type: // always associated for grouped product items
linked_product_sku: // looks like the same as SKU
linked_product_type: // could be retrieved from variant id by the rule variantID == productID
position: // ProductOption::sort_order
}
type GroupedProduct {
items: // map to options and variant
}
type GroupedProductItem {
qty: // map to ProductVariant:: productIdentifierInInventory
position: // ProductOption:: sortOrder
product: // could be retrieved from rule Variant ID == product ID
}
Source: https://github.com/magento/catalog-storefront/issues/205 TODO: AC
GraphQL => proto Mapping: