Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Merge gql schema with latest master
NyanKiyoshi0ba6dea0ec9e
diff --git a/saleor/graphql/product/types.py b/saleor/graphql/product/types.pyindex bb34db265d..095278bb42 100644--- a/saleor/graphql/product/types.py+++ b/saleor/graphql/product/types.py@@ -383,7 +383,8 @@ class Product(CountableDjangoObjectType):Money,description=dedent("""The product's base price (without any discountsapplied)."""),- deprecation_reason='Has been replaced by \'pricing.price_range_undiscounted\'')+ deprecation_reason=(+ 'Has been replaced by \'pricing.price_range_undiscounted\''))tax_rate = TaxRateType(description='A type of tax rate.')attributes = graphene.List(graphene.NonNull(SelectedAttribute), required=True,diff --git a/saleor/graphql/schema.graphql b/saleor/graphql/schema.graphqlindex c9aafc551a..1ae74c1ce9 100644--- a/saleor/graphql/schema.graphql+++ b/saleor/graphql/schema.graphql@@ -1684,8 +1684,9 @@ type Product implements Node {url: String!thumbnailUrl(size: Int): String @deprecated(reason: "thumbnailUrl is deprecated, use\\n thumbnail instead")thumbnail(size: Int): Image- availability: ProductAvailability- price: Money+ availability: ProductPricingInfo @deprecated(reason: "Has been renamed to 'pricing'.")+ pricing: ProductPricingInfo+ price: Money @deprecated(reason: "Has been replaced by 'pricing.price_range_undiscounted'")taxRate: TaxRateTypeattributes: [SelectedAttribute!]!purchaseCost: MoneyRange@@ -1698,16 +1699,6 @@ type Product implements Node {translation(languageCode: LanguageCodeEnum!): ProductTranslation}-type ProductAvailability {- available: Boolean- onSale: Boolean- discount: TaxedMoney- discountLocalCurrency: TaxedMoney- priceRange: TaxedMoneyRange- priceRangeUndiscounted: TaxedMoneyRange- priceRangeLocalCurrency: TaxedMoneyRange-}-type ProductBulkDelete {errors: [Error!]count: Int!@@ -1835,6 +1826,16 @@ enum ProductOrderField {DATE}+type ProductPricingInfo {+ available: Boolean+ onSale: Boolean+ discount: TaxedMoney+ discountLocalCurrency: TaxedMoney+ priceRange: TaxedMoneyRange+ priceRangeUndiscounted: TaxedMoneyRange+ priceRangeLocalCurrency: TaxedMoneyRange+}+type ProductTranslate {errors: [Error!]product: Product@@ -1922,6 +1923,8 @@ type ProductVariant implements Node {stockQuantity: Int!priceOverride: Moneyprice: Money+ availability: VariantPricingInfo @deprecated(reason: "Has been renamed to 'pricing'.")+ pricing: VariantPricingInfoattributes: [SelectedAttribute!]!costPrice: Moneymargin: Int@@ -2577,6 +2580,16 @@ type VariantImageUnassign {image: ProductImage}+type VariantPricingInfo {+ available: Boolean+ onSale: Boolean+ discount: TaxedMoney+ discountLocalCurrency: TaxedMoney+ price: TaxedMoney+ priceUndiscounted: TaxedMoney+ priceLocalCurrency: TaxedMoney+}+type VerifyToken {payload: GenericScalaruser: User