Skip to content

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

Add graphql schema and changelog

fowczarek169fb87c39d2
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 72693a82f3..42f775ec61 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -12,6 +12,7 @@ All notable, unreleased changes to this project will be documented in this file.
- Fix voucher limit value when checkbox unchecked - #4456 by @benekex2
- New menu design - #4476 by @benekex2
- Mutation for changing logged user first and last name - #4489 by @fowczarek
+- Add mutation for deleting account - #4494 by @fowczarek
- New translations:
- Greek
- Fix searches and pickers - #4487 by @dominik-zeglen
diff --git a/saleor/graphql/schema.graphql b/saleor/graphql/schema.graphql
index c4aa7d09a5..b301ca9d2b 100644
--- a/saleor/graphql/schema.graphql
+++ b/saleor/graphql/schema.graphql
@@ -3,6 +3,10 @@ schema {
mutation: Mutations
}
+type AccountDelete {
+ errors: [Error!]
+}
+
input AccountInput {
firstName: String
lastName: String
@@ -1667,6 +1671,7 @@ type Mutations {
customerSetDefaultAddress(id: ID!, type: AddressTypeEnum!): CustomerSetDefaultAddress
loggedUserUpdate(input: UserAddressInput!): LoggedUserUpdate
accountUpdate(input: AccountInput!): AccountUpdate
+ accountDelete: AccountDelete
staffCreate(input: StaffCreateInput!): StaffCreate
staffDelete(id: ID!): StaffDelete
staffBulkDelete(ids: [ID]!): StaffBulkDelete