Skip to content

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

Update schema

Jakub Draganek8c443b8e60d5
diff --git a/saleor/graphql/schema.graphql b/saleor/graphql/schema.graphql
index 0448dafece..ec7a1761e7 100644
--- a/saleor/graphql/schema.graphql
+++ b/saleor/graphql/schema.graphql
@@ -409,6 +409,8 @@ type Checkout implements Node {
voucherCode: String
giftCards: [GiftCard]
id: ID!
+ privateMeta: [MetaStore]!
+ meta: [MetaStore]!
availableShippingMethods: [ShippingMethod]!
availablePaymentGateways: [GatewaysEnum]!
email: String!
@@ -429,6 +431,16 @@ type CheckoutBillingAddressUpdate {
checkout: Checkout
}
+type CheckoutClearStoredMeta {
+ errors: [Error!]
+ checkout: Checkout
+}
+
+type CheckoutClearStoredPrivateMeta {
+ errors: [Error!]
+ checkout: Checkout
+}
+
type CheckoutComplete {
errors: [Error!]
order: Order
@@ -532,6 +544,16 @@ type CheckoutShippingMethodUpdate {
checkout: Checkout
}
+type CheckoutUpdateMeta {
+ errors: [Error!]
+ checkout: Checkout
+}
+
+type CheckoutUpdatePrivateMeta {
+ errors: [Error!]
+ checkout: Checkout
+}
+
type CheckoutUpdateVoucher {
errors: [Error!]
checkout: Checkout
@@ -1780,6 +1802,10 @@ type Mutations {
checkoutShippingAddressUpdate(checkoutId: ID!, shippingAddress: AddressInput!): CheckoutShippingAddressUpdate
checkoutShippingMethodUpdate(checkoutId: ID, shippingMethodId: ID!): CheckoutShippingMethodUpdate
checkoutUpdateVoucher(checkoutId: ID!, voucherCode: String): CheckoutUpdateVoucher
+ checkoutUpdateMetadata(id: ID!, input: MetaInput!): CheckoutUpdateMeta
+ checkoutClearMetadata(id: ID!, input: MetaPath!): CheckoutClearStoredMeta
+ checkoutUpdatePrivateMetadata(id: ID!, input: MetaInput!): CheckoutUpdatePrivateMeta
+ checkoutClearPrivateMetadata(id: ID!, input: MetaPath!): CheckoutClearStoredPrivateMeta
passwordReset(email: String!): PasswordReset
setPassword(id: ID!, input: SetPasswordInput!): SetPassword
customerCreate(input: UserCreateInput!): CustomerCreate