In the app it's possible to display related products. These related products need to be setup as linked products in Magento.

In order to display related products on the PDV the middleware will make the following request to Magento

{
    "query": "query($filter: ProductAttributeFilterInput!) {
    products(filter: $filter) {
      items {
        product_links {
          sku
          link_type
          linked_product_sku
          linked_product_type
        }
      }
    }
  }",
    "variables": {
        "filter": {
            "sku": {
                "eq": "PRODUCT_SKU"
            }
        }
    }
}