Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add new GraphQL schema and types

fowczarek7c593e792e4a
diff --git a/saleor/graphql/schema.graphql b/saleor/graphql/schema.graphql
index 23e454a5fb..6b04091cb2 100644
--- a/saleor/graphql/schema.graphql
+++ b/saleor/graphql/schema.graphql
@@ -1814,6 +1814,7 @@ type Shop {
headerText: String
includeTaxesInPrices: Boolean
displayGrossPrices: Boolean
+ chargeTaxesOnShipping: Boolean
trackInventoryByDefault: Boolean
defaultWeightUnit: WeightUnitsEnum
}
@@ -1828,6 +1829,7 @@ input ShopSettingsInput {
description: String
includeTaxesInPrices: Boolean
displayGrossPrices: Boolean
+ chargeTaxesOnShipping: Boolean
trackInventoryByDefault: Boolean
defaultWeightUnit: WeightUnitsEnum
}
diff --git a/saleor/static/dashboard-next/types/globalTypes.ts b/saleor/static/dashboard-next/types/globalTypes.ts
index 0019ff70d4..6eddfd70d0 100644
--- a/saleor/static/dashboard-next/types/globalTypes.ts
+++ b/saleor/static/dashboard-next/types/globalTypes.ts
@@ -290,6 +290,7 @@ export interface ShopSettingsInput {
description?: string | null;
includeTaxesInPrices?: boolean | null;
displayGrossPrices?: boolean | null;
+ chargeTaxesOnShipping?: boolean | null;
trackInventoryByDefault?: boolean | null;
defaultWeightUnit?: WeightUnitsEnum | null;
}