diff --git a/graphql/operations/public/geo/GetHubsForProduct.graphql b/graphql/operations/public/geo/GetHubsForProduct.graphql new file mode 100644 index 0000000..94cc8dd --- /dev/null +++ b/graphql/operations/public/geo/GetHubsForProduct.graphql @@ -0,0 +1,11 @@ +query GetHubsForProduct($productUuid: String!, $radiusKm: Float) { + hubsForProduct(productUuid: $productUuid, radiusKm: $radiusKm) { + uuid + name + latitude + longitude + country + countryCode + transportTypes + } +} diff --git a/graphql/operations/public/geo/GetSuppliersForProduct.graphql b/graphql/operations/public/geo/GetSuppliersForProduct.graphql new file mode 100644 index 0000000..2858a6d --- /dev/null +++ b/graphql/operations/public/geo/GetSuppliersForProduct.graphql @@ -0,0 +1,5 @@ +query GetSuppliersForProduct($productUuid: String!) { + suppliersForProduct(productUuid: $productUuid) { + uuid + } +}