Skip to content

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

Unify deprecation messages

Marcin Gębalaf8eeb714a370
diff --git a/saleor/graphql/account/schema.py b/saleor/graphql/account/schema.py
index 43142dbf60..62703f5ada 100644
--- a/saleor/graphql/account/schema.py
+++ b/saleor/graphql/account/schema.py
@@ -247,7 +247,8 @@ class AccountMutations(graphene.ObjectType):
account_update_meta = AccountUpdateMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11. Use the `UpdateMetadata` mutation instead."
+ "Use the `updateMetadata` mutation. This field will be removed after "
+ "2020-07-31."
)
)
@@ -273,25 +274,27 @@ class AccountMutations(graphene.ObjectType):
user_update_metadata = UserUpdateMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11. Use the `UpdateMetadata` mutation instead."
+ "Use the `updateMetadata` mutation. This field will be removed after "
+ "2020-07-31."
)
)
user_clear_metadata = UserClearMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11. Use the `DeleteMetadata` mutation instead."
+ "Use the `deleteMetadata` mutation. This field will be removed after "
+ "2020-07-31."
)
)
user_update_private_metadata = UserUpdatePrivateMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11."
- "Use the `UpdatePrivateMetadata` mutation instead."
+ "Use the `updatePrivateMetadata` mutation. This field will be removed "
+ "after 2020-07-31."
)
)
user_clear_private_metadata = UserClearPrivateMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11."
- "Use the `DeletePrivateMetadata` mutation instead."
+ "Use the `deletePrivateMetadata` mutation. This field will be removed "
+ "after 2020-07-31."
)
)
@@ -301,14 +304,14 @@ class AccountMutations(graphene.ObjectType):
service_account_update_private_metadata = ServiceAccountUpdatePrivateMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11."
- "Use the `UpdatePrivateMetadata` mutation instead."
+ "Use the `updatePrivateMetadata` mutation. This field will be removed "
+ "after 2020-07-31."
)
)
service_account_clear_private_metadata = ServiceAccountClearPrivateMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11."
- "Use the `DeletePrivateMetadata` mutation instead."
+ "Use the `deletePrivateMetadata` mutation. This field will be removed "
+ "after 2020-07-31."
)
)
diff --git a/saleor/graphql/checkout/mutations.py b/saleor/graphql/checkout/mutations.py
index 6714a3b654..997901a29d 100644
--- a/saleor/graphql/checkout/mutations.py
+++ b/saleor/graphql/checkout/mutations.py
@@ -404,9 +404,9 @@ class CheckoutCustomerAttach(BaseMutation):
customer_id = graphene.ID(
required=False,
description=(
- "The ID of the customer. DEPRECATED: This field is deprecated and will "
- "be removed in Saleor 2.11. To identify a customer you should "
- "authenticate with JWT token."
+ "[Deprecated] The ID of the customer. To identify a customer you "
+ "should authenticate with JWT. This field will be removed after "
+ "2020-07-31."
),
)
diff --git a/saleor/graphql/checkout/schema.py b/saleor/graphql/checkout/schema.py
index 9443a8bc16..afbebc062a 100644
--- a/saleor/graphql/checkout/schema.py
+++ b/saleor/graphql/checkout/schema.py
@@ -76,23 +76,25 @@ class CheckoutMutations(graphene.ObjectType):
checkout_shipping_method_update = CheckoutShippingMethodUpdate.Field()
checkout_update_metadata = CheckoutUpdateMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11. Use the `UpdateMetadata` mutation instead."
+ "Use the `updateMetadata` mutation. This field will be removed after "
+ "2020-07-31."
)
)
checkout_clear_metadata = CheckoutClearMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11. Use the `DeleteMetadata` mutation instead."
+ "Use the `deleteMetadata` mutation. This field will be removed after "
+ "2020-07-31."
)
)
checkout_update_private_metadata = CheckoutUpdatePrivateMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11."
- "Use the `UpdatePrivateMetadata` mutation instead."
+ "Use the `updatePrivateMetadata` mutation. This field will be removed "
+ "after 2020-07-31."
)
)
checkout_clear_private_metadata = CheckoutClearPrivateMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11."
- "Use the `DeletePrivateMetadata` mutation instead."
+ "Use the `deletePrivateMetadata` mutation. This field will be removed "
+ "after 2020-07-31."
)
)
diff --git a/saleor/graphql/core/mutations.py b/saleor/graphql/core/mutations.py
index 4b6ffb580a..83de2b4938 100644
--- a/saleor/graphql/core/mutations.py
+++ b/saleor/graphql/core/mutations.py
@@ -96,7 +96,10 @@ class BaseMutation(graphene.Mutation):
errors = graphene.List(
graphene.NonNull(Error),
description="List of errors that occurred executing the mutation.",
- deprecation_reason="Use typed errors with error codes.",
+ deprecation_reason=(
+ "Use typed errors with error codes. This field will be removed after "
+ "2020-07-31."
+ ),
required=True,
)
@@ -593,7 +596,10 @@ class CreateToken(ObtainJSONWebToken):
errors = graphene.List(
graphene.NonNull(Error),
required=True,
- deprecation_reason="Use typed errors with error codes.",
+ deprecation_reason=(
+ "Use typed errors with error codes. This field will be removed after "
+ "2020-07-31."
+ ),
)
account_errors = graphene.List(
graphene.NonNull(AccountError),
diff --git a/saleor/graphql/core/types/money.py b/saleor/graphql/core/types/money.py
index da10996bb0..0cbf0c91a8 100644
--- a/saleor/graphql/core/types/money.py
+++ b/saleor/graphql/core/types/money.py
@@ -10,9 +10,10 @@ class Money(graphene.ObjectType):
localized = graphene.String(
description="Money formatted according to the current locale.",
required=True,
- deprecation_reason="DEPRECATED: Will be removed in Saleor 2.11. "
- "Price formatting according to the current locale should be "
- "handled by the frontend client.",
+ deprecation_reason=(
+ "Price formatting according to the current locale should be handled by the "
+ "frontend client. This field will be removed after 2020-07-31."
+ ),
)
class Meta:
diff --git a/saleor/graphql/meta/types.py b/saleor/graphql/meta/types.py
index 576bd92033..7b6d6ebd7f 100644
--- a/saleor/graphql/meta/types.py
+++ b/saleor/graphql/meta/types.py
@@ -35,15 +35,18 @@ class ObjectWithMetadata(graphene.Interface):
"saleor.graphql.meta.deprecated.types.MetaStore",
required=True,
description="List of privately stored metadata namespaces.",
- deprecation_reason="DEPRECATED: Will be removed in Saleor 2.11. "
- "use the `privetaMetadata` field instead. ",
+ deprecation_reason=(
+ "Use the `privetaMetadata` field. This field will be removed after "
+ "2020-07-31."
+ ),
)
meta = graphene.List(
"saleor.graphql.meta.deprecated.types.MetaStore",
required=True,
description="List of publicly stored metadata namespaces.",
- deprecation_reason="DEPRECATED: Will be removed in Saleor 2.11. "
- "use the `metadata` field instead. ",
+ deprecation_reason=(
+ "Use the `metadata` field. This field will be removed after 2020-07-31."
+ ),
)
@staticmethod
diff --git a/saleor/graphql/order/schema.py b/saleor/graphql/order/schema.py
index 13f7429740..4fe7fdd617 100644
--- a/saleor/graphql/order/schema.py
+++ b/saleor/graphql/order/schema.py
@@ -83,17 +83,15 @@ class OrderQueries(graphene.ObjectType):
created=graphene.Argument(
ReportingPeriod,
description=(
- "Filter orders from a selected timespan. "
- "DEPRECATED: Will be removed in Saleor 2.11, "
- "use the `filter` field instead."
+ "[Deprecated] Filter orders from a selected timespan. Use the `filter` "
+ "field instead. This field will be removed after 2020-07-31."
),
),
status=graphene.Argument(
OrderStatusFilter,
description=(
- "Filter order by status. "
- "DEPRECATED: Will be removed in Saleor 2.11, "
- "use the `filter` field instead."
+ "[Deprecated] Filter order by status. Use the `filter` field instead. "
+ "This field will be removed after 2020-07-31."
),
),
description="List of orders.",
@@ -105,9 +103,8 @@ class OrderQueries(graphene.ObjectType):
created=graphene.Argument(
ReportingPeriod,
description=(
- "Filter draft orders from a selected timespan. "
- "DEPRECATED: Will be removed in Saleor 2.11, "
- "use the `filter` field instead."
+ "[Deprecated] Filter draft orders from a selected timespan. Use the "
+ "`filter` field instead. This field will be removed after 2020-07-31."
),
),
description="List of draft orders.",
@@ -169,13 +166,14 @@ class OrderMutations(graphene.ObjectType):
order_capture = OrderCapture.Field()
order_clear_private_meta = OrderClearPrivateMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11."
- "Use the `DeletePrivateMetadata` mutation instead."
+ "Use the `deletePrivateMetadata` mutation instead. This field will be "
+ "removed after 2020-07-31."
)
)
order_clear_meta = OrderClearMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11. Use the `DeleteMetadata` mutation instead."
+ "Use the `deleteMetadata` mutation instead. This field will be removed "
+ "after 2020-07-31."
)
)
order_fulfillment_cancel = FulfillmentCancel.Field()
@@ -183,24 +181,26 @@ class OrderMutations(graphene.ObjectType):
order_fulfillment_update_tracking = FulfillmentUpdateTracking.Field()
order_fulfillment_clear_meta = FulfillmentClearMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11. Use the `DeleteMetadata` mutation instead."
+ "Use the `deleteMetadata` mutation instead. This field will be removed "
+ "after 2020-07-31."
)
)
order_fulfillment_clear_private_meta = FulfillmentClearPrivateMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11."
- "Use the `DeletePrivateMetadata` mutation instead."
+ "Use the `deletePrivateMetadata` mutation instead. This field will be "
+ "removed after 2020-07-31."
)
)
order_fulfillment_update_meta = FulfillmentUpdateMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11. Use the `UpdateMetadata` mutation instead."
+ "Use the `updateMetadata` mutation instead. This field will be removed "
+ "after 2020-07-31."
)
)
order_fulfillment_update_private_meta = FulfillmentUpdatePrivateMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11."
- "Use the `UpdatePrivateMetadata` mutation instead."
+ "Use the `updatePrivateMetadata` mutation instead. This field will be "
+ "removed after 2020-07-31."
)
)
order_mark_as_paid = OrderMarkAsPaid.Field()
@@ -208,13 +208,14 @@ class OrderMutations(graphene.ObjectType):
order_update = OrderUpdate.Field()
order_update_meta = OrderUpdateMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11. Use the `UpdateMetadata` mutation instead."
+ "Use the `updateMetadata` mutation instead. This field will be removed "
+ "after 2020-07-31."
)
)
order_update_private_meta = OrderUpdatePrivateMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11."
- "Use the `UpdatePrivateMetadata` mutation instead."
+ "Use the `updatePrivateMetadata` mutation instead. This field will be "
+ "removed after 2020-07-31."
)
)
order_update_shipping = OrderUpdateShipping.Field()
diff --git a/saleor/graphql/payment/mutations.py b/saleor/graphql/payment/mutations.py
index 6195e0ba68..e2fc7dc67a 100644
--- a/saleor/graphql/payment/mutations.py
+++ b/saleor/graphql/payment/mutations.py
@@ -42,11 +42,10 @@ class PaymentInput(graphene.InputObjectType):
billing_address = AddressInput(
required=False,
description=(
- "Billing address. If empty, the billing address associated with the "
- "checkout instance will be used. "
- "DEPRECATED: `Checkout.billingAddress` will be used instead. Use "
- "`checkoutCreate` or `checkoutBillingAddressUpdate` mutations to set it. "
- "This field will be removed in Saleor 2.11"
+ "[Deprecated] Billing address. If empty, the billing address associated "
+ "with the checkout instance will be used. Use `checkoutCreate` or "
+ "`checkoutBillingAddressUpdate` mutations to set it. This field will be "
+ "removed after 2020-07-31."
),
)
diff --git a/saleor/graphql/product/mutations/products.py b/saleor/graphql/product/mutations/products.py
index bae705bb01..4240b68e13 100644
--- a/saleor/graphql/product/mutations/products.py
+++ b/saleor/graphql/product/mutations/products.py
@@ -528,12 +528,9 @@ class ProductInput(graphene.InputObjectType):
)
quantity = graphene.Int(
description=(
- "The total quantity of a product available for sale. Note: this field is "
- "only used if a product doesn't use variants."
- ),
- deprecation_reason=(
- "DEPRECATED: Will be removed in 2.11 (issue #5325)."
- "Use stocks input field instead."
+ "[Deprecated] Use stocks input field instead. This field will be removed "
+ "after 2020-07-31. The total quantity of a product available for sale. "
+ "Note: this field is only used if a product doesn't use variants."
),
)
track_inventory = graphene.Boolean(
@@ -1106,10 +1103,9 @@ class ProductVariantInput(graphene.InputObjectType):
price_override = Decimal(description="Special price of the particular variant.")
sku = graphene.String(description="Stock keeping unit.")
quantity = graphene.Int(
- description="The total quantity of this variant available for sale.",
- deprecation_reason=(
- "DEPRECATED: Will be removed in 2.11 (issue #5325)."
- "Use stocks input field instead."
+ description=(
+ "[Deprecated] Use stocks input field instead. This field will be removed "
+ "after 2020-07-31. The total quantity of this variant available for sale."
),
)
track_inventory = graphene.Boolean(
diff --git a/saleor/graphql/product/schema.py b/saleor/graphql/product/schema.py
index 6b1ae4bdf8..e544cc635c 100644
--- a/saleor/graphql/product/schema.py
+++ b/saleor/graphql/product/schema.py
@@ -199,9 +199,8 @@ class ProductQueries(graphene.ObjectType):
stock_availability=graphene.Argument(
StockAvailability,
description=(
- "Filter products by stock availability."
- "DEPRECATED: Will be removed in Saleor 2.11, "
- "use the `filter` field instead."
+ "Filter products by stock availability. Use the `filter` field "
+ "instead. This field will be removed after 2020-07-31."
),
),
description="List of the shop's products.",
@@ -302,24 +301,26 @@ class ProductMutations(graphene.ObjectType):
attribute_translate = AttributeTranslate.Field()
attribute_update_metadata = AttributeUpdateMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11. Use the `UpdateMetadata` mutation instead."
+ "Use the `updateMetadata` mutation instead. This field will be removed "
+ "after 2020-07-31."
)
)
attribute_clear_metadata = AttributeClearMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11. Use the `DeleteMetadata` mutation instead."
+ "Use the `deleteMetadata` mutation instead. This field will be removed "
+ "after 2020-07-31."
)
)
attribute_update_private_metadata = AttributeUpdatePrivateMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11."
- "Use the `UpdatePrivateMetadata` mutation instead."
+ "Use the `updatePrivateMetadata` mutation instead. This field will be "
+ "removed after 2020-07-31."
)
)
attribute_clear_private_metadata = AttributeClearPrivateMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11."
- "Use the `DeletePrivateMetadata` mutation instead."
+ "Use the `deletePrivateMetadata` mutation instead. This field will be "
+ "removed after 2020-07-31."
)
)
@@ -337,24 +338,26 @@ class ProductMutations(graphene.ObjectType):
category_translate = CategoryTranslate.Field()
category_update_metadata = CategoryUpdateMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11. Use the `UpdateMetadata` mutation instead."
+ "Use the `updateMetadata` mutation instead. This field will be removed "
+ "after 2020-07-31."
)
)
category_clear_metadata = CategoryClearMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11. Use the `DeleteMetadata` mutation instead."
+ "Use the `deleteMetadata` mutation instead. This field will be removed "
+ "after 2020-07-31."
)
)
category_update_private_metadata = CategoryUpdatePrivateMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11."
- "Use the `UpdatePrivateMetadata` mutation instead."
+ "Use the `updatePrivateMetadata` mutation instead. This field will be "
+ "removed after 2020-07-31."
)
)
category_clear_private_metadata = CategoryClearPrivateMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11."
- "Use the `DeletePrivateMetadata` mutation instead."
+ "Use the `deletePrivateMetadata` mutation instead. This field will be "
+ "removed after 2020-07-31."
)
)
@@ -369,24 +372,26 @@ class ProductMutations(graphene.ObjectType):
collection_translate = CollectionTranslate.Field()
collection_update_metadata = CollectionUpdateMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11. Use the `UpdateMetadata` mutation instead."
+ "Use the `updateMetadata` mutation instead. This field will be removed "
+ "after 2020-07-31."
)
)
collection_clear_metadata = CollectionClearMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11. Use the `DeleteMetadata` mutation instead."
+ "Use the `deleteMetadata` mutation instead. This field will be removed "
+ "after 2020-07-31."
)
)
collection_update_private_metadata = CollectionUpdatePrivateMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11."
- "Use the `UpdatePrivateMetadata` mutation instead."
+ "Use the `updatePrivateMetadata` mutation instead. This field will be "
+ "removed after 2020-07-31."
)
)
collection_clear_private_metadata = CollectionClearPrivateMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11."
- "Use the `DeletePrivateMetadata` mutation instead."
+ "Use the `deletePrivateMetadata` mutation instead. This field will be "
+ "removed after 2020-07-31."
)
)
@@ -398,24 +403,26 @@ class ProductMutations(graphene.ObjectType):
product_translate = ProductTranslate.Field()
product_update_metadata = ProductUpdateMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11. Use the `UpdateMetadata` mutation instead."
+ "Use the `updateMetadata` mutation instead. This field will be removed "
+ "after 2020-07-31."
)
)
product_clear_metadata = ProductClearMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11. Use the `DeleteMetadata` mutation instead."
+ "Use the `deleteMetadata` mutation instead. This field will be removed "
+ "after 2020-07-31."
)
)
product_update_private_metadata = ProductUpdatePrivateMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11."
- "Use the `UpdatePrivateMetadata` mutation instead."
+ "Use the `updatePrivateMetadata` mutation instead. This field will be "
+ "removed after 2020-07-31."
)
)
product_clear_private_metadata = ProductClearPrivateMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11."
- "Use the `DeletePrivateMetadata` mutation instead."
+ "Use the `deletePrivateMetadata` mutation instead. This field will be "
+ "removed after 2020-07-31."
)
)
@@ -433,24 +440,26 @@ class ProductMutations(graphene.ObjectType):
product_type_update_metadata = ProductTypeUpdateMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11. Use the `UpdateMetadata` mutation instead."
+ "Use the `updateMetadata` mutation instead. This field will be removed "
+ "after 2020-07-31."
)
)
product_type_clear_metadata = ProductTypeClearMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11. Use the `DeleteMetadata` mutation instead."
+ "Use the `deleteMetadata` mutation instead. This field will be removed "
+ "after 2020-07-31."
)
)
product_type_update_private_metadata = ProductTypeUpdatePrivateMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11."
- "Use the `UpdatePrivateMetadata` mutation instead."
+ "Use the `updatePrivateMetadata` mutation instead. This field will be "
+ "removed after 2020-07-31."
)
)
product_type_clear_private_metadata = ProductTypeClearPrivateMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11."
- "Use the `DeletePrivateMetadata` mutation instead."
+ "Use the `deletePrivateMetadata` mutation instead. This field will be "
+ "removed after 2020-07-31."
)
)
@@ -471,24 +480,26 @@ class ProductMutations(graphene.ObjectType):
product_variant_translate = ProductVariantTranslate.Field()
product_variant_update_metadata = ProductVariantUpdateMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11. Use the `UpdateMetadata` mutation instead."
+ "Use the `updateMetadata` mutation instead. This field will be removed "
+ "after 2020-07-31."
)
)
product_variant_clear_metadata = ProductVariantClearMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11. Use the `DeleteMetadata` mutation instead."
+ "Use the `deleteMetadata` mutation instead. This field will be removed "
+ "after 2020-07-31."
)
)
product_variant_update_private_metadata = ProductVariantUpdatePrivateMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11."
- "Use the `UpdatePrivateMetadata` mutation instead."
+ "Use the `updatePrivateMetadata` mutation instead. This field will be "
+ "removed after 2020-07-31."
)
)
product_variant_clear_private_metadata = ProductVariantClearPrivateMeta.Field(
deprecation_reason=(
- "Will be removed in Saleor 2.11."
- "Use the `DeletePrivateMetadata` mutation instead."
+ "Use the `deletePrivateMetadata` mutation instead. This field will be "
+ "removed after 2020-07-31."
)
)
diff --git a/saleor/graphql/product/types/attributes.py b/saleor/graphql/product/types/attributes.py
index c595d28766..f5b9840396 100644
--- a/saleor/graphql/product/types/attributes.py
+++ b/saleor/graphql/product/types/attributes.py
@@ -164,8 +164,8 @@ class AttributeInput(graphene.InputObjectType):
value = graphene.String(
required=False,
description=(
- "Internal representation of a value (unique per attribute). "
- "DEPRECATED: Will be removed in Saleor 2.11"
+ "[Deprecated] Internal representation of a value (unique per attribute). "
+ "This field will be removed after 2020-07-31."
),
) # deprecated
values = graphene.List(
diff --git a/saleor/graphql/product/types/products.py b/saleor/graphql/product/types/products.py
index 3427a0517a..a21dd81930 100644
--- a/saleor/graphql/product/types/products.py
+++ b/saleor/graphql/product/types/products.py
@@ -166,20 +166,23 @@ class ProductVariant(CountableDjangoObjectType):
required=True,
description="Quantity of a product in the store's possession, "
"including the allocated stock that is waiting for shipment.",
- deprecation_reason="This field will be removed in Saleor 2.11. "
- "Use the stock field instead.",
+ deprecation_reason=(
+ "Use the stock field instead. This field will be removed after 2020-07-31"
+ ),
)
quantity_allocated = graphene.Int(
required=False,
description="Quantity allocated for orders",
- deprecation_reason="This field will be removed in Saleor 2.11. "
- "Use the stock field instead.",
+ deprecation_reason=(
+ "Use the stock field instead. This field will be removed after 2020-07-31"
+ ),
)
stock_quantity = graphene.Int(
required=True,
description="Quantity of a product available for sale.",
- deprecation_reason="This field will be removed in Saleor 2.11. "
- "Use the stock field instead.",
+ deprecation_reason=(
+ "Use the stock field instead. This field will be removed after 2020-07-31"
+ ),
)
price_override = graphene.Field(
Money,
@@ -197,8 +200,9 @@ class ProductVariant(CountableDjangoObjectType):
)
is_available = graphene.Boolean(
description="Whether the variant is in stock and visible or not.",
- deprecation_reason="This field will be removed in Saleor 2.11. "
- "Use the stock field instead.",
+ deprecation_reason=(
+ "Use the stock field instead. This field will be removed after 2020-07-31"
+ ),
)
attributes = gql_optimizer.field(
@@ -385,7 +389,7 @@ class Product(CountableDjangoObjectType):
url = graphene.String(
description="The storefront URL for the product.",
required=True,
- deprecation_reason="DEPRECATED: Will be removed in Saleor 2.11.",
+ deprecation_reason="This field will be removed after 2020-07-31",
)
thumbnail = graphene.Field(
Image,
@@ -760,7 +764,7 @@ class Category(CountableDjangoObjectType):
)
url = graphene.String(
description="The storefront's URL for the category.",
- deprecation_reason="DEPRECATED: Will be removed in Saleor 2.11.",
+ deprecation_reason="This field will be removed after 2020-07-31",
)
children = PrefetchingConnectionField(
lambda: Category, description="List of children of the category."
diff --git a/saleor/graphql/schema.graphql b/saleor/graphql/schema.graphql
index d007ad49b8..a7ba39f640 100644
--- a/saleor/graphql/schema.graphql
+++ b/saleor/graphql/schema.graphql
@@ -4,28 +4,28 @@ schema {
}
type AccountAddressCreate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
user: User
accountErrors: [AccountError!]!
address: Address
}
type AccountAddressDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
user: User
accountErrors: [AccountError!]!
address: Address
}
type AccountAddressUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
user: User
accountErrors: [AccountError!]!
address: Address
}
type AccountDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
accountErrors: [AccountError!]!
user: User
}
@@ -67,7 +67,7 @@ input AccountInput {
}
type AccountRegister {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
requiresConfirmation: Boolean
accountErrors: [AccountError!]!
user: User
@@ -80,24 +80,24 @@ input AccountRegisterInput {
}
type AccountRequestDeletion {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
accountErrors: [AccountError!]!
}
type AccountSetDefaultAddress {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
user: User
accountErrors: [AccountError!]!
}
type AccountUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
accountErrors: [AccountError!]!
user: User
}
type AccountUpdateMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
accountErrors: [AccountError!]!
user: User
}
@@ -120,14 +120,14 @@ type Address implements Node {
}
type AddressCreate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
user: User
accountErrors: [AccountError!]!
address: Address
}
type AddressDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
user: User
accountErrors: [AccountError!]!
address: Address
@@ -148,7 +148,7 @@ input AddressInput {
}
type AddressSetDefault {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
user: User
accountErrors: [AccountError!]!
}
@@ -159,7 +159,7 @@ enum AddressTypeEnum {
}
type AddressUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
user: User
accountErrors: [AccountError!]!
address: Address
@@ -186,7 +186,7 @@ type AddressValidationData {
}
type AssignNavigation {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
menu: Menu
menuErrors: [MenuError!]!
}
@@ -197,8 +197,8 @@ type Attribute implements Node & ObjectWithMetadata {
productVariantTypes(before: String, after: String, first: Int, last: Int): ProductTypeCountableConnection!
privateMetadata: [MetadataItem]!
metadata: [MetadataItem]!
- privateMeta: [MetaStore]! @deprecated(reason: "DEPRECATED: Will be removed in Saleor 2.11. use the `privetaMetadata` field instead. ")
- meta: [MetaStore]! @deprecated(reason: "DEPRECATED: Will be removed in Saleor 2.11. use the `metadata` field instead. ")
+ privateMeta: [MetaStore]! @deprecated(reason: "Use the `privetaMetadata` field. This field will be removed after 2020-07-31.")
+ meta: [MetaStore]! @deprecated(reason: "Use the `metadata` field. This field will be removed after 2020-07-31.")
inputType: AttributeInputTypeEnum
name: String
slug: String
@@ -213,7 +213,7 @@ type Attribute implements Node & ObjectWithMetadata {
}
type AttributeAssign {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productType: ProductType
productErrors: [ProductAttributeError!]!
}
@@ -224,19 +224,19 @@ input AttributeAssignInput {
}
type AttributeBulkDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
count: Int!
productErrors: [ProductError!]!
}
type AttributeClearMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productErrors: [ProductError!]!
attribute: Attribute
}
type AttributeClearPrivateMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productErrors: [ProductError!]!
attribute: Attribute
}
@@ -253,7 +253,7 @@ type AttributeCountableEdge {
}
type AttributeCreate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
attribute: Attribute
productErrors: [ProductError!]!
}
@@ -273,7 +273,7 @@ input AttributeCreateInput {
}
type AttributeDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productErrors: [ProductError!]!
attribute: Attribute
}
@@ -303,7 +303,7 @@ enum AttributeInputTypeEnum {
}
type AttributeReorderValues {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
attribute: Attribute
productErrors: [ProductError!]!
}
@@ -335,7 +335,7 @@ type AttributeTranslatableContent implements Node {
}
type AttributeTranslate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
translationErrors: [TranslationError!]!
attribute: Attribute
}
@@ -352,13 +352,13 @@ enum AttributeTypeEnum {
}
type AttributeUnassign {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productType: ProductType
productErrors: [ProductError!]!
}
type AttributeUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
attribute: Attribute
productErrors: [ProductError!]!
}
@@ -378,13 +378,13 @@ input AttributeUpdateInput {
}
type AttributeUpdateMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productErrors: [ProductError!]!
attribute: Attribute
}
type AttributeUpdatePrivateMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productErrors: [ProductError!]!
attribute: Attribute
}
@@ -399,13 +399,13 @@ type AttributeValue implements Node {
}
type AttributeValueBulkDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
count: Int!
productErrors: [ProductError!]!
}
type AttributeValueCreate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
attribute: Attribute
productErrors: [ProductError!]!
attributeValue: AttributeValue
@@ -416,7 +416,7 @@ input AttributeValueCreateInput {
}
type AttributeValueDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
attribute: Attribute
productErrors: [ProductError!]!
attributeValue: AttributeValue
@@ -435,7 +435,7 @@ type AttributeValueTranslatableContent implements Node {
}
type AttributeValueTranslate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
translationErrors: [TranslationError!]!
attributeValue: AttributeValue
}
@@ -454,7 +454,7 @@ enum AttributeValueType {
}
type AttributeValueUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
attribute: Attribute
productErrors: [ProductError!]!
attributeValue: AttributeValue
@@ -466,14 +466,14 @@ type AuthorizationKey {
}
type AuthorizationKeyAdd {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
authorizationKey: AuthorizationKey
shop: Shop
shopErrors: [ShopError!]!
}
type AuthorizationKeyDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
authorizationKey: AuthorizationKey
shop: Shop
shopErrors: [ShopError!]!
@@ -521,30 +521,30 @@ type Category implements Node & ObjectWithMetadata {
level: Int!
privateMetadata: [MetadataItem]!
metadata: [MetadataItem]!
- privateMeta: [MetaStore]! @deprecated(reason: "DEPRECATED: Will be removed in Saleor 2.11. use the `privetaMetadata` field instead. ")
- meta: [MetaStore]! @deprecated(reason: "DEPRECATED: Will be removed in Saleor 2.11. use the `metadata` field instead. ")
+ privateMeta: [MetaStore]! @deprecated(reason: "Use the `privetaMetadata` field. This field will be removed after 2020-07-31.")
+ meta: [MetaStore]! @deprecated(reason: "Use the `metadata` field. This field will be removed after 2020-07-31.")
ancestors(before: String, after: String, first: Int, last: Int): CategoryCountableConnection
products(before: String, after: String, first: Int, last: Int): ProductCountableConnection
- url: String @deprecated(reason: "DEPRECATED: Will be removed in Saleor 2.11.")
+ url: String @deprecated(reason: "This field will be removed after 2020-07-31")
children(before: String, after: String, first: Int, last: Int): CategoryCountableConnection
backgroundImage(size: Int): Image
translation(languageCode: LanguageCodeEnum!): CategoryTranslation
}
type CategoryBulkDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
count: Int!
productErrors: [ProductError!]!
}
type CategoryClearMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productErrors: [ProductError!]!
category: Category
}
type CategoryClearPrivateMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productErrors: [ProductError!]!
category: Category
}
@@ -561,13 +561,13 @@ type CategoryCountableEdge {
}
type CategoryCreate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productErrors: [ProductError!]!
category: Category
}
type CategoryDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productErrors: [ProductError!]!
category: Category
}
@@ -610,7 +610,7 @@ type CategoryTranslatableContent implements Node {
}
type CategoryTranslate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
translationErrors: [TranslationError!]!
category: Category
}
@@ -626,19 +626,19 @@ type CategoryTranslation implements Node {
}
type CategoryUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productErrors: [ProductError!]!
category: Category
}
type CategoryUpdateMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productErrors: [ProductError!]!
category: Category
}
type CategoryUpdatePrivateMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productErrors: [ProductError!]!
category: Category
}
@@ -661,8 +661,8 @@ type Checkout implements Node & ObjectWithMetadata {
id: ID!
privateMetadata: [MetadataItem]!
metadata: [MetadataItem]!
- privateMeta: [MetaStore]! @deprecated(reason: "DEPRECATED: Will be removed in Saleor 2.11. use the `privetaMetadata` field instead. ")
- meta: [MetaStore]! @deprecated(reason: "DEPRECATED: Will be removed in Saleor 2.11. use the `metadata` field instead. ")
+ privateMeta: [MetaStore]! @deprecated(reason: "Use the `privetaMetadata` field. This field will be removed after 2020-07-31.")
+ meta: [MetaStore]! @deprecated(reason: "Use the `metadata` field. This field will be removed after 2020-07-31.")
availableShippingMethods: [ShippingMethod]!
availablePaymentGateways: [PaymentGateway]!
email: String!
@@ -674,31 +674,31 @@ type Checkout implements Node & ObjectWithMetadata {
}
type CheckoutAddPromoCode {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
checkout: Checkout
checkoutErrors: [CheckoutError!]!
}
type CheckoutBillingAddressUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
checkout: Checkout
checkoutErrors: [CheckoutError!]!
}
type CheckoutClearMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
checkoutErrors: [CheckoutError!]!
checkout: Checkout
}
type CheckoutClearPrivateMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
checkoutErrors: [CheckoutError!]!
checkout: Checkout
}
type CheckoutComplete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
order: Order
confirmationNeeded: Boolean!
checkoutErrors: [CheckoutError!]!
@@ -716,7 +716,7 @@ type CheckoutCountableEdge {
}
type CheckoutCreate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
created: Boolean
checkoutErrors: [CheckoutError!]!
checkout: Checkout
@@ -730,19 +730,19 @@ input CheckoutCreateInput {
}
type CheckoutCustomerAttach {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
checkout: Checkout
checkoutErrors: [CheckoutError!]!
}
type CheckoutCustomerDetach {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
checkout: Checkout
checkoutErrors: [CheckoutError!]!
}
type CheckoutEmailUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
checkout: Checkout
checkoutErrors: [CheckoutError!]!
}
@@ -794,7 +794,7 @@ type CheckoutLineCountableEdge {
}
type CheckoutLineDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
checkout: Checkout
checkoutErrors: [CheckoutError!]!
}
@@ -805,50 +805,50 @@ input CheckoutLineInput {
}
type CheckoutLinesAdd {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
checkout: Checkout
checkoutErrors: [CheckoutError!]!
}
type CheckoutLinesUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
checkout: Checkout
checkoutErrors: [CheckoutError!]!
}
type CheckoutPaymentCreate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
checkout: Checkout
payment: Payment
paymentErrors: [PaymentError!]!
}
type CheckoutRemovePromoCode {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
checkout: Checkout
checkoutErrors: [CheckoutError!]!
}
type CheckoutShippingAddressUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
checkout: Checkout
checkoutErrors: [CheckoutError!]!
}
type CheckoutShippingMethodUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
checkout: Checkout
checkoutErrors: [CheckoutError!]!
}
type CheckoutUpdateMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
checkoutErrors: [CheckoutError!]!
checkout: Checkout
}
type CheckoutUpdatePrivateMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
checkoutErrors: [CheckoutError!]!
checkout: Checkout
}
@@ -870,39 +870,39 @@ type Collection implements Node & ObjectWithMetadata {
slug: String!
privateMetadata: [MetadataItem]!
metadata: [MetadataItem]!
- privateMeta: [MetaStore]! @deprecated(reason: "DEPRECATED: Will be removed in Saleor 2.11. use the `privetaMetadata` field instead. ")
- meta: [MetaStore]! @deprecated(reason: "DEPRECATED: Will be removed in Saleor 2.11. use the `metadata` field instead. ")
+ privateMeta: [MetaStore]! @deprecated(reason: "Use the `privetaMetadata` field. This field will be removed after 2020-07-31.")
+ meta: [MetaStore]! @deprecated(reason: "Use the `metadata` field. This field will be removed after 2020-07-31.")
products(before: String, after: String, first: Int, last: Int): ProductCountableConnection
backgroundImage(size: Int): Image
translation(languageCode: LanguageCodeEnum!): CollectionTranslation
}
type CollectionAddProducts {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
collection: Collection
productErrors: [ProductError!]!
}
type CollectionBulkDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
count: Int!
productErrors: [ProductError!]!
}
type CollectionBulkPublish {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
count: Int!
productErrors: [ProductError!]!
}
type CollectionClearMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productErrors: [ProductError!]!
collection: Collection
}
type CollectionClearPrivateMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productErrors: [ProductError!]!
collection: Collection
}
@@ -919,7 +919,7 @@ type CollectionCountableEdge {
}
type CollectionCreate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productErrors: [ProductError!]!
collection: Collection
}
@@ -938,7 +938,7 @@ input CollectionCreateInput {
}
type CollectionDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productErrors: [ProductError!]!
collection: Collection
}
@@ -967,13 +967,13 @@ enum CollectionPublished {
}
type CollectionRemoveProducts {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
collection: Collection
productErrors: [ProductError!]!
}
type CollectionReorderProducts {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
collection: Collection
productErrors: [ProductError!]!
}
@@ -1001,7 +1001,7 @@ type CollectionTranslatableContent implements Node {
}
type CollectionTranslate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
translationErrors: [TranslationError!]!
collection: Collection
}
@@ -1017,19 +1017,19 @@ type CollectionTranslation implements Node {
}
type CollectionUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productErrors: [ProductError!]!
collection: Collection
}
type CollectionUpdateMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productErrors: [ProductError!]!
collection: Collection
}
type CollectionUpdatePrivateMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productErrors: [ProductError!]!
collection: Collection
}
@@ -1055,13 +1055,13 @@ enum ConfigurationTypeFieldEnum {
}
type ConfirmAccount {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
user: User
accountErrors: [AccountError!]!
}
type ConfirmEmailChange {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
user: User
accountErrors: [AccountError!]!
}
@@ -1327,7 +1327,7 @@ type CountryDisplay {
type CreateToken {
token: String
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
accountErrors: [AccountError!]!
user: User
}
@@ -1341,19 +1341,19 @@ type CreditCard {
}
type CustomerBulkDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
count: Int!
accountErrors: [AccountError!]!
}
type CustomerCreate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
accountErrors: [AccountError!]!
user: User
}
type CustomerDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
accountErrors: [AccountError!]!
user: User
}
@@ -1404,7 +1404,7 @@ input CustomerInput {
}
type CustomerUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
accountErrors: [AccountError!]!
user: User
}
@@ -1426,13 +1426,13 @@ input DateTimeRangeInput {
scalar Decimal
type DeleteMetadata {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
metadataErrors: [MetadataError!]!
item: ObjectWithMetadata
}
type DeletePrivateMetadata {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
metadataErrors: [MetadataError!]!
item: ObjectWithMetadata
}
@@ -1448,8 +1448,8 @@ type DigitalContent implements Node & ObjectWithMetadata {
id: ID!
privateMetadata: [MetadataItem]!
metadata: [MetadataItem]!
- privateMeta: [MetaStore]! @deprecated(reason: "DEPRECATED: Will be removed in Saleor 2.11. use the `privetaMetadata` field instead. ")
- meta: [MetaStore]! @deprecated(reason: "DEPRECATED: Will be removed in Saleor 2.11. use the `metadata` field instead. ")
+ privateMeta: [MetaStore]! @deprecated(reason: "Use the `privetaMetadata` field. This field will be removed after 2020-07-31.")
+ meta: [MetaStore]! @deprecated(reason: "Use the `metadata` field. This field will be removed after 2020-07-31.")
}
type DigitalContentCountableConnection {
@@ -1464,14 +1464,14 @@ type DigitalContentCountableEdge {
}
type DigitalContentCreate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
variant: ProductVariant
content: DigitalContent
productErrors: [ProductError!]!
}
type DigitalContentDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
variant: ProductVariant
productErrors: [ProductError!]!
}
@@ -1484,7 +1484,7 @@ input DigitalContentInput {
}
type DigitalContentUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
variant: ProductVariant
content: DigitalContent
productErrors: [ProductError!]!
@@ -1508,7 +1508,7 @@ type DigitalContentUrl implements Node {
}
type DigitalContentUrlCreate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productErrors: [ProductError!]!
digitalContentUrl: DigitalContentUrl
}
@@ -1550,19 +1550,19 @@ type Domain {
}
type DraftOrderBulkDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
count: Int!
orderErrors: [OrderError!]!
}
type DraftOrderComplete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
order: Order
orderErrors: [OrderError!]!
}
type DraftOrderCreate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
orderErrors: [OrderError!]!
order: Order
}
@@ -1580,7 +1580,7 @@ input DraftOrderCreateInput {
}
type DraftOrderDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
orderErrors: [OrderError!]!
order: Order
}
@@ -1597,34 +1597,34 @@ input DraftOrderInput {
}
type DraftOrderLineDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
order: Order
orderLine: OrderLine
orderErrors: [OrderError!]!
}
type DraftOrderLineUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
order: Order
orderErrors: [OrderError!]!
orderLine: OrderLine
}
type DraftOrderLinesBulkDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
count: Int!
orderErrors: [OrderError!]!
}
type DraftOrderLinesCreate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
order: Order
orderLines: [OrderLine!]
orderErrors: [OrderError!]!
}
type DraftOrderUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
orderErrors: [OrderError!]!
order: Order
}
@@ -1642,14 +1642,14 @@ type Fulfillment implements Node & ObjectWithMetadata {
created: DateTime!
privateMetadata: [MetadataItem]!
metadata: [MetadataItem]!
- privateMeta: [MetaStore]! @deprecated(reason: "DEPRECATED: Will be removed in Saleor 2.11. use the `privetaMetadata` field instead. ")
- meta: [MetaStore]! @deprecated(reason: "DEPRECATED: Will be removed in Saleor 2.11. use the `metadata` field instead. ")
+ privateMeta: [MetaStore]! @deprecated(reason: "Use the `privetaMetadata` field. This field will be removed after 2020-07-31.")
+ meta: [MetaStore]! @deprecated(reason: "Use the `metadata` field. This field will be removed after 2020-07-31.")
lines: [FulfillmentLine]
statusDisplay: String
}
type FulfillmentCancel {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
fulfillment: Fulfillment
order: Order
orderErrors: [OrderError!]!
@@ -1660,17 +1660,17 @@ input FulfillmentCancelInput {
}
type FulfillmentClearMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
fulfillment: Fulfillment
}
type FulfillmentClearPrivateMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
fulfillment: Fulfillment
}
type FulfillmentCreate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
fulfillment: Fulfillment
order: Order
orderErrors: [OrderError!]!
@@ -1699,17 +1699,17 @@ enum FulfillmentStatus {
}
type FulfillmentUpdateMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
fulfillment: Fulfillment
}
type FulfillmentUpdatePrivateMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
fulfillment: Fulfillment
}
type FulfillmentUpdateTracking {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
fulfillment: Fulfillment
order: Order
orderErrors: [OrderError!]!
@@ -1746,7 +1746,7 @@ type GiftCard implements Node {
}
type GiftCardActivate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
giftCard: GiftCard
giftCardErrors: [GiftCardError!]!
}
@@ -1763,7 +1763,7 @@ type GiftCardCountableEdge {
}
type GiftCardCreate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
giftCardErrors: [GiftCardError!]!
giftCard: GiftCard
}
@@ -1777,7 +1777,7 @@ input GiftCardCreateInput {
}
type GiftCardDeactivate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
giftCard: GiftCard
giftCardErrors: [GiftCardError!]!
}
@@ -1798,7 +1798,7 @@ enum GiftCardErrorCode {
}
type GiftCardUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
giftCardErrors: [GiftCardError!]!
giftCard: GiftCard
}
@@ -1829,7 +1829,7 @@ type GroupCountableEdge {
}
type HomepageCollectionUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
shop: Shop
shopErrors: [ShopError!]!
}
@@ -1909,7 +1909,7 @@ type Menu implements Node {
}
type MenuBulkDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
count: Int!
menuErrors: [MenuError!]!
}
@@ -1926,7 +1926,7 @@ type MenuCountableEdge {
}
type MenuCreate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
menuErrors: [MenuError!]!
menu: Menu
}
@@ -1937,7 +1937,7 @@ input MenuCreateInput {
}
type MenuDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
menuErrors: [MenuError!]!
menu: Menu
}
@@ -1983,7 +1983,7 @@ type MenuItem implements Node {
}
type MenuItemBulkDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
count: Int!
menuErrors: [MenuError!]!
}
@@ -2000,7 +2000,7 @@ type MenuItemCountableEdge {
}
type MenuItemCreate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
menuErrors: [MenuError!]!
menuItem: MenuItem
}
@@ -2016,7 +2016,7 @@ input MenuItemCreateInput {
}
type MenuItemDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
menuErrors: [MenuError!]!
menuItem: MenuItem
}
@@ -2034,7 +2034,7 @@ input MenuItemInput {
}
type MenuItemMove {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
menu: Menu
menuErrors: [MenuError!]!
}
@@ -2058,7 +2058,7 @@ type MenuItemTranslatableContent implements Node {
}
type MenuItemTranslate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
translationErrors: [TranslationError!]!
menuItem: MenuItem
}
@@ -2070,7 +2070,7 @@ type MenuItemTranslation implements Node {
}
type MenuItemUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
menuErrors: [MenuError!]!
menuItem: MenuItem
}
@@ -2090,7 +2090,7 @@ input MenuSortingInput {
}
type MenuUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
menuErrors: [MenuError!]!
menu: Menu
}
@@ -2148,7 +2148,7 @@ type MetadataItem {
type Money {
currency: String!
amount: Float!
- localized: String! @deprecated(reason: "DEPRECATED: Will be removed in Saleor 2.11. Price formatting according to the current locale should be handled by the frontend client.")
+ localized: String! @deprecated(reason: "Price formatting according to the current locale should be handled by the frontend client. This field will be removed after 2020-07-31.")
}
type MoneyRange {
@@ -2197,10 +2197,10 @@ type Mutation {
attributeUnassign(attributeIds: [ID]!, productTypeId: ID!): AttributeUnassign
attributeUpdate(id: ID!, input: AttributeUpdateInput!): AttributeUpdate
attributeTranslate(id: ID!, input: NameTranslationInput!, languageCode: LanguageCodeEnum!): AttributeTranslate
- attributeUpdateMetadata(id: ID!, input: MetaInput!): AttributeUpdateMeta @deprecated(reason: "Will be removed in Saleor 2.11. Use the `UpdateMetadata` mutation instead.")
- attributeClearMetadata(id: ID!, input: MetaPath!): AttributeClearMeta @deprecated(reason: "Will be removed in Saleor 2.11. Use the `DeleteMetadata` mutation instead.")
- attributeUpdatePrivateMetadata(id: ID!, input: MetaInput!): AttributeUpdatePrivateMeta @deprecated(reason: "Will be removed in Saleor 2.11.Use the `UpdatePrivateMetadata` mutation instead.")
- attributeClearPrivateMetadata(id: ID!, input: MetaPath!): AttributeClearPrivateMeta @deprecated(reason: "Will be removed in Saleor 2.11.Use the `DeletePrivateMetadata` mutation instead.")
+ attributeUpdateMetadata(id: ID!, input: MetaInput!): AttributeUpdateMeta @deprecated(reason: "Use the `updateMetadata` mutation instead. This field will be removed after 2020-07-31.")
+ attributeClearMetadata(id: ID!, input: MetaPath!): AttributeClearMeta @deprecated(reason: "Use the `deleteMetadata` mutation instead. This field will be removed after 2020-07-31.")
+ attributeUpdatePrivateMetadata(id: ID!, input: MetaInput!): AttributeUpdatePrivateMeta @deprecated(reason: "Use the `updatePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
+ attributeClearPrivateMetadata(id: ID!, input: MetaPath!): AttributeClearPrivateMeta @deprecated(reason: "Use the `deletePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
attributeValueCreate(attribute: ID!, input: AttributeValueCreateInput!): AttributeValueCreate
attributeValueDelete(id: ID!): AttributeValueDelete
attributeValueBulkDelete(ids: [ID]!): AttributeValueBulkDelete
@@ -2212,10 +2212,10 @@ type Mutation {
categoryBulkDelete(ids: [ID]!): CategoryBulkDelete
categoryUpdate(id: ID!, input: CategoryInput!): CategoryUpdate
categoryTranslate(id: ID!, input: TranslationInput!, languageCode: LanguageCodeEnum!): CategoryTranslate
- categoryUpdateMetadata(id: ID!, input: MetaInput!): CategoryUpdateMeta @deprecated(reason: "Will be removed in Saleor 2.11. Use the `UpdateMetadata` mutation instead.")
- categoryClearMetadata(id: ID!, input: MetaPath!): CategoryClearMeta @deprecated(reason: "Will be removed in Saleor 2.11. Use the `DeleteMetadata` mutation instead.")
- categoryUpdatePrivateMetadata(id: ID!, input: MetaInput!): CategoryUpdatePrivateMeta @deprecated(reason: "Will be removed in Saleor 2.11.Use the `UpdatePrivateMetadata` mutation instead.")
- categoryClearPrivateMetadata(id: ID!, input: MetaPath!): CategoryClearPrivateMeta @deprecated(reason: "Will be removed in Saleor 2.11.Use the `DeletePrivateMetadata` mutation instead.")
+ categoryUpdateMetadata(id: ID!, input: MetaInput!): CategoryUpdateMeta @deprecated(reason: "Use the `updateMetadata` mutation instead. This field will be removed after 2020-07-31.")
+ categoryClearMetadata(id: ID!, input: MetaPath!): CategoryClearMeta @deprecated(reason: "Use the `deleteMetadata` mutation instead. This field will be removed after 2020-07-31.")
+ categoryUpdatePrivateMetadata(id: ID!, input: MetaInput!): CategoryUpdatePrivateMeta @deprecated(reason: "Use the `updatePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
+ categoryClearPrivateMetadata(id: ID!, input: MetaPath!): CategoryClearPrivateMeta @deprecated(reason: "Use the `deletePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
collectionAddProducts(collectionId: ID!, products: [ID]!): CollectionAddProducts
collectionCreate(input: CollectionCreateInput!): CollectionCreate
collectionDelete(id: ID!): CollectionDelete
@@ -2225,20 +2225,20 @@ type Mutation {
collectionRemoveProducts(collectionId: ID!, products: [ID]!): CollectionRemoveProducts
collectionUpdate(id: ID!, input: CollectionInput!): CollectionUpdate
collectionTranslate(id: ID!, input: TranslationInput!, languageCode: LanguageCodeEnum!): CollectionTranslate
- collectionUpdateMetadata(id: ID!, input: MetaInput!): CollectionUpdateMeta @deprecated(reason: "Will be removed in Saleor 2.11. Use the `UpdateMetadata` mutation instead.")
- collectionClearMetadata(id: ID!, input: MetaPath!): CollectionClearMeta @deprecated(reason: "Will be removed in Saleor 2.11. Use the `DeleteMetadata` mutation instead.")
- collectionUpdatePrivateMetadata(id: ID!, input: MetaInput!): CollectionUpdatePrivateMeta @deprecated(reason: "Will be removed in Saleor 2.11.Use the `UpdatePrivateMetadata` mutation instead.")
- collectionClearPrivateMetadata(id: ID!, input: MetaPath!): CollectionClearPrivateMeta @deprecated(reason: "Will be removed in Saleor 2.11.Use the `DeletePrivateMetadata` mutation instead.")
+ collectionUpdateMetadata(id: ID!, input: MetaInput!): CollectionUpdateMeta @deprecated(reason: "Use the `updateMetadata` mutation instead. This field will be removed after 2020-07-31.")
+ collectionClearMetadata(id: ID!, input: MetaPath!): CollectionClearMeta @deprecated(reason: "Use the `deleteMetadata` mutation instead. This field will be removed after 2020-07-31.")
+ collectionUpdatePrivateMetadata(id: ID!, input: MetaInput!): CollectionUpdatePrivateMeta @deprecated(reason: "Use the `updatePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
+ collectionClearPrivateMetadata(id: ID!, input: MetaPath!): CollectionClearPrivateMeta @deprecated(reason: "Use the `deletePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
productCreate(input: ProductCreateInput!): ProductCreate
productDelete(id: ID!): ProductDelete
productBulkDelete(ids: [ID]!): ProductBulkDelete
productBulkPublish(ids: [ID]!, isPublished: Boolean!): ProductBulkPublish
productUpdate(id: ID!, input: ProductInput!): ProductUpdate
productTranslate(id: ID!, input: TranslationInput!, languageCode: LanguageCodeEnum!): ProductTranslate
- productUpdateMetadata(id: ID!, input: MetaInput!): ProductUpdateMeta @deprecated(reason: "Will be removed in Saleor 2.11. Use the `UpdateMetadata` mutation instead.")
- productClearMetadata(id: ID!, input: MetaPath!): ProductClearMeta @deprecated(reason: "Will be removed in Saleor 2.11. Use the `DeleteMetadata` mutation instead.")
- productUpdatePrivateMetadata(id: ID!, input: MetaInput!): ProductUpdatePrivateMeta @deprecated(reason: "Will be removed in Saleor 2.11.Use the `UpdatePrivateMetadata` mutation instead.")
- productClearPrivateMetadata(id: ID!, input: MetaPath!): ProductClearPrivateMeta @deprecated(reason: "Will be removed in Saleor 2.11.Use the `DeletePrivateMetadata` mutation instead.")
+ productUpdateMetadata(id: ID!, input: MetaInput!): ProductUpdateMeta @deprecated(reason: "Use the `updateMetadata` mutation instead. This field will be removed after 2020-07-31.")
+ productClearMetadata(id: ID!, input: MetaPath!): ProductClearMeta @deprecated(reason: "Use the `deleteMetadata` mutation instead. This field will be removed after 2020-07-31.")
+ productUpdatePrivateMetadata(id: ID!, input: MetaInput!): ProductUpdatePrivateMeta @deprecated(reason: "Use the `updatePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
+ productClearPrivateMetadata(id: ID!, input: MetaPath!): ProductClearPrivateMeta @deprecated(reason: "Use the `deletePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
productImageCreate(input: ProductImageCreateInput!): ProductImageCreate
productImageDelete(id: ID!): ProductImageDelete
productImageBulkDelete(ids: [ID]!): ProductImageBulkDelete
@@ -2249,10 +2249,10 @@ type Mutation {
productTypeBulkDelete(ids: [ID]!): ProductTypeBulkDelete
productTypeUpdate(id: ID!, input: ProductTypeInput!): ProductTypeUpdate
productTypeReorderAttributes(moves: [ReorderInput]!, productTypeId: ID!, type: AttributeTypeEnum!): ProductTypeReorderAttributes
- productTypeUpdateMetadata(id: ID!, input: MetaInput!): ProductTypeUpdateMeta @deprecated(reason: "Will be removed in Saleor 2.11. Use the `UpdateMetadata` mutation instead.")
- productTypeClearMetadata(id: ID!, input: MetaPath!): ProductTypeClearMeta @deprecated(reason: "Will be removed in Saleor 2.11. Use the `DeleteMetadata` mutation instead.")
- productTypeUpdatePrivateMetadata(id: ID!, input: MetaInput!): ProductTypeUpdatePrivateMeta @deprecated(reason: "Will be removed in Saleor 2.11.Use the `UpdatePrivateMetadata` mutation instead.")
- productTypeClearPrivateMetadata(id: ID!, input: MetaPath!): ProductTypeClearPrivateMeta @deprecated(reason: "Will be removed in Saleor 2.11.Use the `DeletePrivateMetadata` mutation instead.")
+ productTypeUpdateMetadata(id: ID!, input: MetaInput!): ProductTypeUpdateMeta @deprecated(reason: "Use the `updateMetadata` mutation instead. This field will be removed after 2020-07-31.")
+ productTypeClearMetadata(id: ID!, input: MetaPath!): ProductTypeClearMeta @deprecated(reason: "Use the `deleteMetadata` mutation instead. This field will be removed after 2020-07-31.")
+ productTypeUpdatePrivateMetadata(id: ID!, input: MetaInput!): ProductTypeUpdatePrivateMeta @deprecated(reason: "Use the `updatePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
+ productTypeClearPrivateMetadata(id: ID!, input: MetaPath!): ProductTypeClearPrivateMeta @deprecated(reason: "Use the `deletePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
digitalContentCreate(input: DigitalContentUploadInput!, variantId: ID!): DigitalContentCreate
digitalContentDelete(variantId: ID!): DigitalContentDelete
digitalContentUpdate(input: DigitalContentInput!, variantId: ID!): DigitalContentUpdate
@@ -2266,10 +2266,10 @@ type Mutation {
productVariantStocksUpdate(stocks: [StockInput!]!, variantId: ID!): ProductVariantStocksUpdate
productVariantUpdate(id: ID!, input: ProductVariantInput!): ProductVariantUpdate
productVariantTranslate(id: ID!, input: NameTranslationInput!, languageCode: LanguageCodeEnum!): ProductVariantTranslate
- productVariantUpdateMetadata(id: ID!, input: MetaInput!): ProductVariantUpdateMeta @deprecated(reason: "Will be removed in Saleor 2.11. Use the `UpdateMetadata` mutation instead.")
- productVariantClearMetadata(id: ID!, input: MetaPath!): ProductVariantClearMeta @deprecated(reason: "Will be removed in Saleor 2.11. Use the `DeleteMetadata` mutation instead.")
- productVariantUpdatePrivateMetadata(id: ID!, input: MetaInput!): ProductVariantUpdatePrivateMeta @deprecated(reason: "Will be removed in Saleor 2.11.Use the `UpdatePrivateMetadata` mutation instead.")
- productVariantClearPrivateMetadata(id: ID!, input: MetaPath!): ProductVariantClearPrivateMeta @deprecated(reason: "Will be removed in Saleor 2.11.Use the `DeletePrivateMetadata` mutation instead.")
+ productVariantUpdateMetadata(id: ID!, input: MetaInput!): ProductVariantUpdateMeta @deprecated(reason: "Use the `updateMetadata` mutation instead. This field will be removed after 2020-07-31.")
+ productVariantClearMetadata(id: ID!, input: MetaPath!): ProductVariantClearMeta @deprecated(reason: "Use the `deleteMetadata` mutation instead. This field will be removed after 2020-07-31.")
+ productVariantUpdatePrivateMetadata(id: ID!, input: MetaInput!): ProductVariantUpdatePrivateMeta @deprecated(reason: "Use the `updatePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
+ productVariantClearPrivateMetadata(id: ID!, input: MetaPath!): ProductVariantClearPrivateMeta @deprecated(reason: "Use the `deletePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
variantImageAssign(imageId: ID!, variantId: ID!): VariantImageAssign
variantImageUnassign(imageId: ID!, variantId: ID!): VariantImageUnassign
paymentCapture(amount: Decimal, paymentId: ID!): PaymentCapture
@@ -2294,20 +2294,20 @@ type Mutation {
orderAddNote(order: ID!, input: OrderAddNoteInput!): OrderAddNote
orderCancel(id: ID!, restock: Boolean!): OrderCancel
orderCapture(amount: Decimal!, id: ID!): OrderCapture
- orderClearPrivateMeta(id: ID!, input: MetaPath!): OrderClearPrivateMeta @deprecated(reason: "Will be removed in Saleor 2.11.Use the `DeletePrivateMetadata` mutation instead.")
- orderClearMeta(input: MetaPath!, token: UUID!): OrderClearMeta @deprecated(reason: "Will be removed in Saleor 2.11. Use the `DeleteMetadata` mutation instead.")
+ orderClearPrivateMeta(id: ID!, input: MetaPath!): OrderClearPrivateMeta @deprecated(reason: "Use the `deletePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
+ orderClearMeta(input: MetaPath!, token: UUID!): OrderClearMeta @deprecated(reason: "Use the `deleteMetadata` mutation instead. This field will be removed after 2020-07-31.")
orderFulfillmentCancel(id: ID!, input: FulfillmentCancelInput!): FulfillmentCancel
orderFulfillmentCreate(input: FulfillmentCreateInput!, order: ID): FulfillmentCreate
orderFulfillmentUpdateTracking(id: ID!, input: FulfillmentUpdateTrackingInput!): FulfillmentUpdateTracking
- orderFulfillmentClearMeta(id: ID!, input: MetaPath!): FulfillmentClearMeta @deprecated(reason: "Will be removed in Saleor 2.11. Use the `DeleteMetadata` mutation instead.")
- orderFulfillmentClearPrivateMeta(id: ID!, input: MetaPath!): FulfillmentClearPrivateMeta @deprecated(reason: "Will be removed in Saleor 2.11.Use the `DeletePrivateMetadata` mutation instead.")
- orderFulfillmentUpdateMeta(id: ID!, input: MetaInput!): FulfillmentUpdateMeta @deprecated(reason: "Will be removed in Saleor 2.11. Use the `UpdateMetadata` mutation instead.")
- orderFulfillmentUpdatePrivateMeta(id: ID!, input: MetaInput!): FulfillmentUpdatePrivateMeta @deprecated(reason: "Will be removed in Saleor 2.11.Use the `UpdatePrivateMetadata` mutation instead.")
+ orderFulfillmentClearMeta(id: ID!, input: MetaPath!): FulfillmentClearMeta @deprecated(reason: "Use the `deleteMetadata` mutation instead. This field will be removed after 2020-07-31.")
+ orderFulfillmentClearPrivateMeta(id: ID!, input: MetaPath!): FulfillmentClearPrivateMeta @deprecated(reason: "Use the `deletePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
+ orderFulfillmentUpdateMeta(id: ID!, input: MetaInput!): FulfillmentUpdateMeta @deprecated(reason: "Use the `updateMetadata` mutation instead. This field will be removed after 2020-07-31.")
+ orderFulfillmentUpdatePrivateMeta(id: ID!, input: MetaInput!): FulfillmentUpdatePrivateMeta @deprecated(reason: "Use the `updatePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
orderMarkAsPaid(id: ID!): OrderMarkAsPaid
orderRefund(amount: Decimal!, id: ID!): OrderRefund
orderUpdate(id: ID!, input: OrderUpdateInput!): OrderUpdate
- orderUpdateMeta(input: MetaInput!, token: UUID!): OrderUpdateMeta @deprecated(reason: "Will be removed in Saleor 2.11. Use the `UpdateMetadata` mutation instead.")
- orderUpdatePrivateMeta(id: ID!, input: MetaInput!): OrderUpdatePrivateMeta @deprecated(reason: "Will be removed in Saleor 2.11.Use the `UpdatePrivateMetadata` mutation instead.")
+ orderUpdateMeta(input: MetaInput!, token: UUID!): OrderUpdateMeta @deprecated(reason: "Use the `updateMetadata` mutation instead. This field will be removed after 2020-07-31.")
+ orderUpdatePrivateMeta(id: ID!, input: MetaInput!): OrderUpdatePrivateMeta @deprecated(reason: "Use the `updatePrivateMetadata` mutation instead. This field will be removed after 2020-07-31.")
orderUpdateShipping(order: ID!, input: OrderUpdateShippingInput): OrderUpdateShipping
orderVoid(id: ID!): OrderVoid
orderBulkCancel(ids: [ID]!, restock: Boolean!): OrderBulkCancel
@@ -2362,10 +2362,10 @@ type Mutation {
checkoutPaymentCreate(checkoutId: ID!, input: PaymentInput!): CheckoutPaymentCreate
checkoutShippingAddressUpdate(checkoutId: ID!, shippingAddress: AddressInput!): CheckoutShippingAddressUpdate
checkoutShippingMethodUpdate(checkoutId: ID, shippingMethodId: ID!): CheckoutShippingMethodUpdate
- checkoutUpdateMetadata(id: ID!, input: MetaInput!): CheckoutUpdateMeta @deprecated(reason: "Will be removed in Saleor 2.11. Use the `UpdateMetadata` mutation instead.")
- checkoutClearMetadata(id: ID!, input: MetaPath!): CheckoutClearMeta @deprecated(reason: "Will be removed in Saleor 2.11. Use the `DeleteMetadata` mutation instead.")
- checkoutUpdatePrivateMetadata(id: ID!, input: MetaInput!): CheckoutUpdatePrivateMeta @deprecated(reason: "Will be removed in Saleor 2.11.Use the `UpdatePrivateMetadata` mutation instead.")
- checkoutClearPrivateMetadata(id: ID!, input: MetaPath!): CheckoutClearPrivateMeta @deprecated(reason: "Will be removed in Saleor 2.11.Use the `DeletePrivateMetadata` mutation instead.")
+ checkoutUpdateMetadata(id: ID!, input: MetaInput!): CheckoutUpdateMeta @deprecated(reason: "Use the `updateMetadata` mutation. This field will be removed after 2020-07-31.")
+ checkoutClearMetadata(id: ID!, input: MetaPath!): CheckoutClearMeta @deprecated(reason: "Use the `deleteMetadata` mutation. This field will be removed after 2020-07-31.")
+ checkoutUpdatePrivateMetadata(id: ID!, input: MetaInput!): CheckoutUpdatePrivateMeta @deprecated(reason: "Use the `updatePrivateMetadata` mutation. This field will be removed after 2020-07-31.")
+ checkoutClearPrivateMetadata(id: ID!, input: MetaPath!): CheckoutClearPrivateMeta @deprecated(reason: "Use the `deletePrivateMetadata` mutation. This field will be removed after 2020-07-31.")
requestPasswordReset(email: String!, redirectUrl: String!): RequestPasswordReset
confirmAccount(email: String!, token: String!): ConfirmAccount
setPassword(token: String!, email: String!, password: String!): SetPassword
@@ -2380,7 +2380,7 @@ type Mutation {
accountUpdate(input: AccountInput!): AccountUpdate
accountRequestDeletion(redirectUrl: String!): AccountRequestDeletion
accountDelete(token: String!): AccountDelete
- accountUpdateMeta(input: MetaInput!): AccountUpdateMeta @deprecated(reason: "Will be removed in Saleor 2.11. Use the `UpdateMetadata` mutation instead.")
+ accountUpdateMeta(input: MetaInput!): AccountUpdateMeta @deprecated(reason: "Use the `updateMetadata` mutation. This field will be removed after 2020-07-31.")
addressCreate(input: AddressInput!, userId: ID!): AddressCreate
addressUpdate(id: ID!, input: AddressInput!): AddressUpdate
addressDelete(id: ID!): AddressDelete
@@ -2396,15 +2396,15 @@ type Mutation {
userAvatarUpdate(image: Upload!): UserAvatarUpdate
userAvatarDelete: UserAvatarDelete
userBulkSetActive(ids: [ID]!, isActive: Boolean!): UserBulkSetActive
- userUpdateMetadata(id: ID!, input: MetaInput!): UserUpdateMeta @deprecated(reason: "Will be removed in Saleor 2.11. Use the `UpdateMetadata` mutation instead.")
- userClearMetadata(id: ID!, input: MetaPath!): UserClearMeta @deprecated(reason: "Will be removed in Saleor 2.11. Use the `DeleteMetadata` mutation instead.")
- userUpdatePrivateMetadata(id: ID!, input: MetaInput!): UserUpdatePrivateMeta @deprecated(reason: "Will be removed in Saleor 2.11.Use the `UpdatePrivateMetadata` mutation instead.")
- userClearPrivateMetadata(id: ID!, input: MetaPath!): UserClearPrivateMeta @deprecated(reason: "Will be removed in Saleor 2.11.Use the `DeletePrivateMetadata` mutation instead.")
+ userUpdateMetadata(id: ID!, input: MetaInput!): UserUpdateMeta @deprecated(reason: "Use the `updateMetadata` mutation. This field will be removed after 2020-07-31.")
+ userClearMetadata(id: ID!, input: MetaPath!): UserClearMeta @deprecated(reason: "Use the `deleteMetadata` mutation. This field will be removed after 2020-07-31.")
+ userUpdatePrivateMetadata(id: ID!, input: MetaInput!): UserUpdatePrivateMeta @deprecated(reason: "Use the `updatePrivateMetadata` mutation. This field will be removed after 2020-07-31.")
+ userClearPrivateMetadata(id: ID!, input: MetaPath!): UserClearPrivateMeta @deprecated(reason: "Use the `deletePrivateMetadata` mutation. This field will be removed after 2020-07-31.")
serviceAccountCreate(input: ServiceAccountInput!): ServiceAccountCreate
serviceAccountUpdate(id: ID!, input: ServiceAccountInput!): ServiceAccountUpdate
serviceAccountDelete(id: ID!): ServiceAccountDelete
- serviceAccountUpdatePrivateMetadata(id: ID!, input: MetaInput!): ServiceAccountUpdatePrivateMeta @deprecated(reason: "Will be removed in Saleor 2.11.Use the `UpdatePrivateMetadata` mutation instead.")
- serviceAccountClearPrivateMetadata(id: ID!, input: MetaPath!): ServiceAccountClearPrivateMeta @deprecated(reason: "Will be removed in Saleor 2.11.Use the `DeletePrivateMetadata` mutation instead.")
+ serviceAccountUpdatePrivateMetadata(id: ID!, input: MetaInput!): ServiceAccountUpdatePrivateMeta @deprecated(reason: "Use the `updatePrivateMetadata` mutation. This field will be removed after 2020-07-31.")
+ serviceAccountClearPrivateMetadata(id: ID!, input: MetaPath!): ServiceAccountClearPrivateMeta @deprecated(reason: "Use the `deletePrivateMetadata` mutation. This field will be removed after 2020-07-31.")
serviceAccountTokenCreate(input: ServiceAccountTokenInput!): ServiceAccountTokenCreate
serviceAccountTokenDelete(id: ID!): ServiceAccountTokenDelete
permissionGroupCreate(input: PermissionGroupCreateInput!): PermissionGroupCreate
@@ -2435,8 +2435,8 @@ interface Node {
interface ObjectWithMetadata {
privateMetadata: [MetadataItem]!
metadata: [MetadataItem]!
- privateMeta: [MetaStore]! @deprecated(reason: "DEPRECATED: Will be removed in Saleor 2.11. use the `privetaMetadata` field instead. ")
- meta: [MetaStore]! @deprecated(reason: "DEPRECATED: Will be removed in Saleor 2.11. use the `metadata` field instead. ")
+ privateMeta: [MetaStore]! @deprecated(reason: "Use the `privetaMetadata` field. This field will be removed after 2020-07-31.")
+ meta: [MetaStore]! @deprecated(reason: "Use the `metadata` field. This field will be removed after 2020-07-31.")
}
type Order implements Node & ObjectWithMetadata {
@@ -2462,8 +2462,8 @@ type Order implements Node & ObjectWithMetadata {
weight: Weight
privateMetadata: [MetadataItem]!
metadata: [MetadataItem]!
- privateMeta: [MetaStore]! @deprecated(reason: "DEPRECATED: Will be removed in Saleor 2.11. use the `privetaMetadata` field instead. ")
- meta: [MetaStore]! @deprecated(reason: "DEPRECATED: Will be removed in Saleor 2.11. use the `metadata` field instead. ")
+ privateMeta: [MetaStore]! @deprecated(reason: "Use the `privetaMetadata` field. This field will be removed after 2020-07-31.")
+ meta: [MetaStore]! @deprecated(reason: "Use the `metadata` field. This field will be removed after 2020-07-31.")
fulfillments: [Fulfillment]!
lines: [OrderLine]!
actions: [OrderAction]!
@@ -2493,7 +2493,7 @@ enum OrderAction {
}
type OrderAddNote {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
order: Order
event: OrderEvent
orderErrors: [OrderError!]!
@@ -2504,30 +2504,30 @@ input OrderAddNoteInput {
}
type OrderBulkCancel {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
count: Int!
orderErrors: [OrderError!]!
}
type OrderCancel {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
order: Order
orderErrors: [OrderError!]!
}
type OrderCapture {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
order: Order
orderErrors: [OrderError!]!
}
type OrderClearMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
order: Order
}
type OrderClearPrivateMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
order: Order
}
@@ -2686,13 +2686,13 @@ input OrderLineInput {
}
type OrderMarkAsPaid {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
order: Order
orderErrors: [OrderError!]!
}
type OrderRefund {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
order: Order
orderErrors: [OrderError!]!
}
@@ -2729,7 +2729,7 @@ enum OrderStatusFilter {
}
type OrderUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
orderErrors: [OrderError!]!
order: Order
}
@@ -2741,17 +2741,17 @@ input OrderUpdateInput {
}
type OrderUpdateMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
order: Order
}
type OrderUpdatePrivateMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
order: Order
}
type OrderUpdateShipping {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
order: Order
orderErrors: [OrderError!]!
}
@@ -2761,7 +2761,7 @@ input OrderUpdateShippingInput {
}
type OrderVoid {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
order: Order
orderErrors: [OrderError!]!
}
@@ -2781,13 +2781,13 @@ type Page implements Node {
}
type PageBulkDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
count: Int!
pageErrors: [PageError!]!
}
type PageBulkPublish {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
count: Int!
pageErrors: [PageError!]!
}
@@ -2804,13 +2804,13 @@ type PageCountableEdge {
}
type PageCreate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
pageErrors: [PageError!]!
page: Page
}
type PageDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
pageErrors: [PageError!]!
page: Page
}
@@ -2875,7 +2875,7 @@ type PageTranslatableContent implements Node {
}
type PageTranslate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
translationErrors: [TranslationError!]!
page: PageTranslatableContent
}
@@ -2899,13 +2899,13 @@ input PageTranslationInput {
}
type PageUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
pageErrors: [PageError!]!
page: Page
}
type PasswordChange {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
user: User
accountErrors: [AccountError!]!
}
@@ -2934,7 +2934,7 @@ type Payment implements Node {
}
type PaymentCapture {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
payment: Payment
paymentErrors: [PaymentError!]!
}
@@ -2988,13 +2988,13 @@ input PaymentInput {
}
type PaymentRefund {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
payment: Payment
paymentErrors: [PaymentError!]!
}
type PaymentSecureConfirm {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
payment: Payment
paymentErrors: [PaymentError!]!
}
@@ -3005,7 +3005,7 @@ type PaymentSource {
}
type PaymentVoid {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
payment: Payment
paymentErrors: [PaymentError!]!
}
@@ -3034,13 +3034,13 @@ enum PermissionEnum {
}
type PermissionGroupAssignUsers {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
group: Group
accountErrors: [AccountError!]!
}
type PermissionGroupCreate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
group: Group
accountErrors: [AccountError!]!
}
@@ -3051,7 +3051,7 @@ input PermissionGroupCreateInput {
}
type PermissionGroupDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
accountErrors: [AccountError!]!
group: Group
}
@@ -3075,13 +3075,13 @@ input PermissionGroupSortingInput {
}
type PermissionGroupUnassignUsers {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
group: Group
accountErrors: [AccountError!]!
}
type PermissionGroupUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
group: Group
accountErrors: [AccountError!]!
}
@@ -3136,7 +3136,7 @@ input PluginSortingInput {
}
type PluginUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
plugin: Plugin
pluginsErrors: [PluginError!]!
}
@@ -3168,9 +3168,9 @@ type Product implements Node & ObjectWithMetadata {
weight: Weight
privateMetadata: [MetadataItem]!
metadata: [MetadataItem]!
- privateMeta: [MetaStore]! @deprecated(reason: "DEPRECATED: Will be removed in Saleor 2.11. use the `privetaMetadata` field instead. ")
- meta: [MetaStore]! @deprecated(reason: "DEPRECATED: Will be removed in Saleor 2.11. use the `metadata` field instead. ")
- url: String! @deprecated(reason: "DEPRECATED: Will be removed in Saleor 2.11.")
+ privateMeta: [MetaStore]! @deprecated(reason: "Use the `privetaMetadata` field. This field will be removed after 2020-07-31.")
+ meta: [MetaStore]! @deprecated(reason: "Use the `metadata` field. This field will be removed after 2020-07-31.")
+ url: String! @deprecated(reason: "This field will be removed after 2020-07-31")
thumbnail(size: Int): Image
pricing: ProductPricingInfo
isAvailable: Boolean
@@ -3195,25 +3195,25 @@ type ProductAttributeError {
}
type ProductBulkDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
count: Int!
productErrors: [ProductError!]!
}
type ProductBulkPublish {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
count: Int!
productErrors: [ProductError!]!
}
type ProductClearMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productErrors: [ProductError!]!
product: Product
}
type ProductClearPrivateMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productErrors: [ProductError!]!
product: Product
}
@@ -3230,7 +3230,7 @@ type ProductCountableEdge {
}
type ProductCreate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productErrors: [ProductError!]!
product: Product
}
@@ -3258,7 +3258,7 @@ input ProductCreateInput {
}
type ProductDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productErrors: [ProductError!]!
product: Product
}
@@ -3306,13 +3306,13 @@ type ProductImage implements Node {
}
type ProductImageBulkDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
count: Int!
productErrors: [ProductError!]!
}
type ProductImageCreate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
product: Product
image: ProductImage
productErrors: [ProductError!]!
@@ -3325,21 +3325,21 @@ input ProductImageCreateInput {
}
type ProductImageDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
product: Product
image: ProductImage
productErrors: [ProductError!]!
}
type ProductImageReorder {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
product: Product
images: [ProductImage]
productErrors: [ProductError!]!
}
type ProductImageUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
product: Product
image: ProductImage
productErrors: [ProductError!]!
@@ -3410,7 +3410,7 @@ type ProductTranslatableContent implements Node {
}
type ProductTranslate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
translationErrors: [TranslationError!]!
product: Product
}
@@ -3435,8 +3435,8 @@ type ProductType implements Node & ObjectWithMetadata {
weight: Weight
privateMetadata: [MetadataItem]!
metadata: [MetadataItem]!
- privateMeta: [MetaStore]! @deprecated(reason: "DEPRECATED: Will be removed in Saleor 2.11. use the `privetaMetadata` field instead. ")
- meta: [MetaStore]! @deprecated(reason: "DEPRECATED: Will be removed in Saleor 2.11. use the `metadata` field instead. ")
+ privateMeta: [MetaStore]! @deprecated(reason: "Use the `privetaMetadata` field. This field will be removed after 2020-07-31.")
+ meta: [MetaStore]! @deprecated(reason: "Use the `metadata` field. This field will be removed after 2020-07-31.")
products(before: String, after: String, first: Int, last: Int): ProductCountableConnection
taxRate: TaxRateType
taxType: TaxType
@@ -3446,19 +3446,19 @@ type ProductType implements Node & ObjectWithMetadata {
}
type ProductTypeBulkDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
count: Int!
productErrors: [ProductError!]!
}
type ProductTypeClearMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productErrors: [ProductError!]!
productType: ProductType
}
type ProductTypeClearPrivateMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productErrors: [ProductError!]!
productType: ProductType
}
@@ -3480,13 +3480,13 @@ type ProductTypeCountableEdge {
}
type ProductTypeCreate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productErrors: [ProductError!]!
productType: ProductType
}
type ProductTypeDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productErrors: [ProductError!]!
productType: ProductType
}
@@ -3516,7 +3516,7 @@ input ProductTypeInput {
}
type ProductTypeReorderAttributes {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productType: ProductType
productErrors: [ProductError!]!
}
@@ -3533,37 +3533,37 @@ input ProductTypeSortingInput {
}
type ProductTypeUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productErrors: [ProductError!]!
productType: ProductType
}
type ProductTypeUpdateMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productErrors: [ProductError!]!
productType: ProductType
}
type ProductTypeUpdatePrivateMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productErrors: [ProductError!]!
productType: ProductType
}
type ProductUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productErrors: [ProductError!]!
product: Product
}
type ProductUpdateMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productErrors: [ProductError!]!
product: Product
}
type ProductUpdatePrivateMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productErrors: [ProductError!]!
product: Product
}
@@ -3577,14 +3577,14 @@ type ProductVariant implements Node & ObjectWithMetadata {
weight: Weight
privateMetadata: [MetadataItem]!
metadata: [MetadataItem]!
- privateMeta: [MetaStore]! @deprecated(reason: "DEPRECATED: Will be removed in Saleor 2.11. use the `privetaMetadata` field instead. ")
- meta: [MetaStore]! @deprecated(reason: "DEPRECATED: Will be removed in Saleor 2.11. use the `metadata` field instead. ")
- quantity: Int! @deprecated(reason: "This field will be removed in Saleor 2.11. Use the stock field instead.")
- quantityAllocated: Int @deprecated(reason: "This field will be removed in Saleor 2.11. Use the stock field instead.")
- stockQuantity: Int! @deprecated(reason: "This field will be removed in Saleor 2.11. Use the stock field instead.")
+ privateMeta: [MetaStore]! @deprecated(reason: "Use the `privetaMetadata` field. This field will be removed after 2020-07-31.")
+ meta: [MetaStore]! @deprecated(reason: "Use the `metadata` field. This field will be removed after 2020-07-31.")
+ quantity: Int! @deprecated(reason: "Use the stock field instead. This field will be removed after 2020-07-31")
+ quantityAllocated: Int @deprecated(reason: "Use the stock field instead. This field will be removed after 2020-07-31")
+ stockQuantity: Int! @deprecated(reason: "Use the stock field instead. This field will be removed after 2020-07-31")
priceOverride: Money
pricing: VariantPricingInfo
- isAvailable: Boolean @deprecated(reason: "This field will be removed in Saleor 2.11. Use the stock field instead.")
+ isAvailable: Boolean @deprecated(reason: "Use the stock field instead. This field will be removed after 2020-07-31")
attributes: [SelectedAttribute!]!
costPrice: Money
margin: Int
@@ -3597,7 +3597,7 @@ type ProductVariant implements Node & ObjectWithMetadata {
}
type ProductVariantBulkCreate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
count: Int!
productVariants: [ProductVariant!]!
bulkProductErrors: [BulkProductError!]!
@@ -3614,19 +3614,19 @@ input ProductVariantBulkCreateInput {
}
type ProductVariantBulkDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
count: Int!
productErrors: [ProductError!]!
}
type ProductVariantClearMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productErrors: [ProductError!]!
productVariant: ProductVariant
}
type ProductVariantClearPrivateMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productErrors: [ProductError!]!
productVariant: ProductVariant
}
@@ -3643,7 +3643,7 @@ type ProductVariantCountableEdge {
}
type ProductVariantCreate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productErrors: [ProductError!]!
productVariant: ProductVariant
}
@@ -3661,7 +3661,7 @@ input ProductVariantCreateInput {
}
type ProductVariantDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productErrors: [ProductError!]!
productVariant: ProductVariant
}
@@ -3677,19 +3677,19 @@ input ProductVariantInput {
}
type ProductVariantStocksCreate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productVariant: ProductVariant
bulkStockErrors: [BulkStockError!]!
}
type ProductVariantStocksDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productVariant: ProductVariant
stockErrors: [StockError!]!
}
type ProductVariantStocksUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productVariant: ProductVariant
bulkStockErrors: [BulkStockError!]!
}
@@ -3702,7 +3702,7 @@ type ProductVariantTranslatableContent implements Node {
}
type ProductVariantTranslate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
translationErrors: [TranslationError!]!
productVariant: ProductVariant
}
@@ -3714,19 +3714,19 @@ type ProductVariantTranslation implements Node {
}
type ProductVariantUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productErrors: [ProductError!]!
productVariant: ProductVariant
}
type ProductVariantUpdateMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productErrors: [ProductError!]!
productVariant: ProductVariant
}
type ProductVariantUpdatePrivateMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productErrors: [ProductError!]!
productVariant: ProductVariant
}
@@ -3822,13 +3822,13 @@ enum ReportingPeriod {
}
type RequestEmailChange {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
user: User
accountErrors: [AccountError!]!
}
type RequestPasswordReset {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
accountErrors: [AccountError!]!
}
@@ -3846,13 +3846,13 @@ type Sale implements Node {
}
type SaleAddCatalogues {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
sale: Sale
discountErrors: [DiscountError!]!
}
type SaleBulkDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
count: Int!
discountErrors: [DiscountError!]!
}
@@ -3869,13 +3869,13 @@ type SaleCountableEdge {
}
type SaleCreate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
discountErrors: [DiscountError!]!
sale: Sale
}
type SaleDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
discountErrors: [DiscountError!]!
sale: Sale
}
@@ -3899,7 +3899,7 @@ input SaleInput {
}
type SaleRemoveCatalogues {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
sale: Sale
discountErrors: [DiscountError!]!
}
@@ -3925,7 +3925,7 @@ type SaleTranslatableContent implements Node {
}
type SaleTranslate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
translationErrors: [TranslationError!]!
sale: Sale
}
@@ -3942,7 +3942,7 @@ enum SaleType {
}
type SaleUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
discountErrors: [DiscountError!]!
sale: Sale
}
@@ -3966,12 +3966,12 @@ type ServiceAccount implements Node & ObjectWithMetadata {
tokens: [ServiceAccountToken]
privateMetadata: [MetadataItem]!
metadata: [MetadataItem]!
- privateMeta: [MetaStore]! @deprecated(reason: "DEPRECATED: Will be removed in Saleor 2.11. use the `privetaMetadata` field instead. ")
- meta: [MetaStore]! @deprecated(reason: "DEPRECATED: Will be removed in Saleor 2.11. use the `metadata` field instead. ")
+ privateMeta: [MetaStore]! @deprecated(reason: "Use the `privetaMetadata` field. This field will be removed after 2020-07-31.")
+ meta: [MetaStore]! @deprecated(reason: "Use the `metadata` field. This field will be removed after 2020-07-31.")
}
type ServiceAccountClearPrivateMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
accountErrors: [AccountError!]!
serviceAccount: ServiceAccount
}
@@ -3988,14 +3988,14 @@ type ServiceAccountCountableEdge {
}
type ServiceAccountCreate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
authToken: String
accountErrors: [AccountError!]!
serviceAccount: ServiceAccount
}
type ServiceAccountDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
accountErrors: [AccountError!]!
serviceAccount: ServiceAccount
}
@@ -4028,14 +4028,14 @@ type ServiceAccountToken implements Node {
}
type ServiceAccountTokenCreate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
authToken: String
accountErrors: [AccountError!]!
serviceAccountToken: ServiceAccountToken
}
type ServiceAccountTokenDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
accountErrors: [AccountError!]!
serviceAccountToken: ServiceAccountToken
}
@@ -4046,20 +4046,20 @@ input ServiceAccountTokenInput {
}
type ServiceAccountUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
accountErrors: [AccountError!]!
serviceAccount: ServiceAccount
}
type ServiceAccountUpdatePrivateMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
accountErrors: [AccountError!]!
serviceAccount: ServiceAccount
}
type SetPassword {
token: String
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
accountErrors: [AccountError!]!
user: User
}
@@ -4113,20 +4113,20 @@ enum ShippingMethodTypeEnum {
}
type ShippingPriceBulkDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
count: Int!
shippingErrors: [ShippingError!]!
}
type ShippingPriceCreate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
shippingZone: ShippingZone
shippingErrors: [ShippingError!]!
shippingMethod: ShippingMethod
}
type ShippingPriceDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
shippingMethod: ShippingMethod
shippingZone: ShippingZone
shippingErrors: [ShippingError!]!
@@ -4144,13 +4144,13 @@ input ShippingPriceInput {
}
type ShippingPriceTranslate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
translationErrors: [TranslationError!]!
shippingMethod: ShippingMethod
}
type ShippingPriceUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
shippingZone: ShippingZone
shippingErrors: [ShippingError!]!
shippingMethod: ShippingMethod
@@ -4167,7 +4167,7 @@ type ShippingZone implements Node {
}
type ShippingZoneBulkDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
count: Int!
shippingErrors: [ShippingError!]!
}
@@ -4184,7 +4184,7 @@ type ShippingZoneCountableEdge {
}
type ShippingZoneCreate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
shippingZone: ShippingZone
shippingErrors: [ShippingError!]!
}
@@ -4197,13 +4197,13 @@ input ShippingZoneCreateInput {
}
type ShippingZoneDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
shippingErrors: [ShippingError!]!
shippingZone: ShippingZone
}
type ShippingZoneUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
shippingZone: ShippingZone
shippingErrors: [ShippingError!]!
}
@@ -4249,13 +4249,13 @@ type Shop {
}
type ShopAddressUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
shop: Shop
shopErrors: [ShopError!]!
}
type ShopDomainUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
shop: Shop
shopErrors: [ShopError!]!
}
@@ -4277,7 +4277,7 @@ enum ShopErrorCode {
}
type ShopFetchTaxRates {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
shop: Shop
shopErrors: [ShopError!]!
}
@@ -4299,7 +4299,7 @@ input ShopSettingsInput {
}
type ShopSettingsTranslate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
shop: Shop
translationErrors: [TranslationError!]!
}
@@ -4310,7 +4310,7 @@ input ShopSettingsTranslationInput {
}
type ShopSettingsUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
shop: Shop
shopErrors: [ShopError!]!
}
@@ -4328,13 +4328,13 @@ input SiteDomainInput {
}
type StaffBulkDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
count: Int!
accountErrors: [AccountError!]!
}
type StaffCreate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
accountErrors: [AccountError!]!
user: User
}
@@ -4350,7 +4350,7 @@ input StaffCreateInput {
}
type StaffDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
accountErrors: [AccountError!]!
user: User
}
@@ -4377,13 +4377,13 @@ type StaffNotificationRecipient implements Node {
}
type StaffNotificationRecipientCreate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
shopErrors: [ShopError!]!
staffNotificationRecipient: StaffNotificationRecipient
}
type StaffNotificationRecipientDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
shopErrors: [ShopError!]!
staffNotificationRecipient: StaffNotificationRecipient
}
@@ -4395,13 +4395,13 @@ input StaffNotificationRecipientInput {
}
type StaffNotificationRecipientUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
shopErrors: [ShopError!]!
staffNotificationRecipient: StaffNotificationRecipient
}
type StaffUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
accountErrors: [AccountError!]!
user: User
}
@@ -4590,13 +4590,13 @@ input TranslationInput {
scalar UUID
type UpdateMetadata {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
metadataErrors: [MetadataError!]!
item: ObjectWithMetadata
}
type UpdatePrivateMetadata {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
metadataErrors: [MetadataError!]!
item: ObjectWithMetadata
}
@@ -4617,8 +4617,8 @@ type User implements Node & ObjectWithMetadata {
defaultBillingAddress: Address
privateMetadata: [MetadataItem]!
metadata: [MetadataItem]!
- privateMeta: [MetaStore]! @deprecated(reason: "DEPRECATED: Will be removed in Saleor 2.11. use the `privetaMetadata` field instead. ")
- meta: [MetaStore]! @deprecated(reason: "DEPRECATED: Will be removed in Saleor 2.11. use the `metadata` field instead. ")
+ privateMeta: [MetaStore]! @deprecated(reason: "Use the `privetaMetadata` field. This field will be removed after 2020-07-31.")
+ meta: [MetaStore]! @deprecated(reason: "Use the `metadata` field. This field will be removed after 2020-07-31.")
addresses: [Address]
checkout: Checkout
giftCards(before: String, after: String, first: Int, last: Int): GiftCardCountableConnection
@@ -4630,31 +4630,31 @@ type User implements Node & ObjectWithMetadata {
}
type UserAvatarDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
user: User
accountErrors: [AccountError!]!
}
type UserAvatarUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
user: User
accountErrors: [AccountError!]!
}
type UserBulkSetActive {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
count: Int!
accountErrors: [AccountError!]!
}
type UserClearMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
accountErrors: [AccountError!]!
user: User
}
type UserClearPrivateMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
accountErrors: [AccountError!]!
user: User
}
@@ -4694,13 +4694,13 @@ input UserSortingInput {
}
type UserUpdateMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
accountErrors: [AccountError!]!
user: User
}
type UserUpdatePrivateMeta {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
accountErrors: [AccountError!]!
user: User
}
@@ -4712,14 +4712,14 @@ type VAT {
}
type VariantImageAssign {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productVariant: ProductVariant
image: ProductImage
productErrors: [ProductError!]!
}
type VariantImageUnassign {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
productVariant: ProductVariant
image: ProductImage
productErrors: [ProductError!]!
@@ -4762,13 +4762,13 @@ type Voucher implements Node {
}
type VoucherAddCatalogues {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
voucher: Voucher
discountErrors: [DiscountError!]!
}
type VoucherBulkDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
count: Int!
discountErrors: [DiscountError!]!
}
@@ -4785,13 +4785,13 @@ type VoucherCountableEdge {
}
type VoucherCreate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
discountErrors: [DiscountError!]!
voucher: Voucher
}
type VoucherDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
discountErrors: [DiscountError!]!
voucher: Voucher
}
@@ -4830,7 +4830,7 @@ input VoucherInput {
}
type VoucherRemoveCatalogues {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
voucher: Voucher
discountErrors: [DiscountError!]!
}
@@ -4858,7 +4858,7 @@ type VoucherTranslatableContent implements Node {
}
type VoucherTranslate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
translationErrors: [TranslationError!]!
voucher: Voucher
}
@@ -4876,7 +4876,7 @@ enum VoucherTypeEnum {
}
type VoucherUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
discountErrors: [DiscountError!]!
voucher: Voucher
}
@@ -4914,7 +4914,7 @@ type WarehouseCountableEdge {
}
type WarehouseCreate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
warehouseErrors: [WarehouseError!]!
warehouse: Warehouse
}
@@ -4929,7 +4929,7 @@ input WarehouseCreateInput {
}
type WarehouseDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
warehouseErrors: [WarehouseError!]!
warehouse: Warehouse
}
@@ -4955,13 +4955,13 @@ input WarehouseFilterInput {
}
type WarehouseShippingZoneAssign {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
warehouse: Warehouse
warehouseErrors: [WarehouseError!]!
}
type WarehouseShippingZoneUnassign {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
warehouse: Warehouse
warehouseErrors: [WarehouseError!]!
}
@@ -4976,7 +4976,7 @@ input WarehouseSortingInput {
}
type WarehouseUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
warehouseErrors: [WarehouseError!]!
warehouse: Warehouse
}
@@ -5011,7 +5011,7 @@ type WebhookCountableEdge {
}
type WebhookCreate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
webhookErrors: [WebhookError!]!
webhook: Webhook
}
@@ -5026,7 +5026,7 @@ input WebhookCreateInput {
}
type WebhookDelete {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
webhook: Webhook
webhookErrors: [WebhookError!]!
}
@@ -5092,7 +5092,7 @@ input WebhookSortingInput {
}
type WebhookUpdate {
- errors: [Error!]! @deprecated(reason: "Use typed errors with error codes.")
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2020-07-31.")
webhook: Webhook
webhookErrors: [WebhookError!]!
}