flamingo.me/flamingo-commerce/v3@v3.11.0/test/integrationtest/projecttest/tests/graphql/testdata/product_get.graphql (about)

     1  query {
     2      simple: Commerce_Product(marketPlaceCode: "fake_simple") {
     3          title
     4          marketPlaceCode
     5          meta {
     6              keywords
     7          }
     8          price {
     9              activeBase {
    10                  amount
    11                  currency
    12              }
    13          }
    14      }
    15  
    16      configurable: Commerce_Product(marketPlaceCode: "fake_configurable") {
    17          title
    18          marketPlaceCode
    19          meta {
    20              keywords
    21          }
    22  
    23          ... on Commerce_Product_ConfigurableProduct {
    24              variantSelection {
    25                  variants {
    26                      attributes {
    27                          key
    28                          value
    29                      }
    30                      variant {
    31                          marketplaceCode
    32                      }
    33                  }
    34                  attributes {
    35                      label
    36                      code
    37                      options {
    38                          label
    39                          unitCode
    40                          otherAttributesRestrictions {
    41                              code
    42                              availableOptions
    43                          }
    44                      }
    45                  }
    46              }
    47          }
    48      }
    49  
    50      active_variant: Commerce_Product(
    51          marketPlaceCode: "fake_configurable_with_active_variant"
    52      ) {
    53          type
    54          title
    55          meta {
    56              keywords
    57          }
    58  
    59          ... on Commerce_Product_ActiveVariantProduct {
    60              variationSelections {
    61                  code
    62                  label
    63              }
    64              activeVariationSelections {
    65                  code
    66                  label
    67                  value
    68              }
    69          }
    70      }
    71  }