Skip to main content
Version: 2.0.0

Customer Mutations

Operations registered in src/gql/mutations/customer/*.

Available Mutations

  • CancelCustomerOrderMutation Operation: cancelCustomerOrder(comment: String!, id: Int, number: String)
  • SubscribeCustomer Operation: subscribeCustomer(email: String!)
  • UnsubscribeCustomer Operation: unsubscribeCustomer(email: String!)
  • SaveAddressMutation Operation: saveAddress(id: Int, type: String!, name: String!, firstname: String!, lastname: String!, telephone: String, street: String!, city: String!, postcode: String!, country_code: String!)
  • WishlistMutation Operations: addToWishlist(id: Int, entryId: Int, sku: String, wishlistId: Int), removeFromWishlist(wishlistItemId: Int!), clearWishlist

Authentication

  • cancelCustomerOrder, saveAddress, and wishlist mutations require authenticated user context.
  • subscribeCustomer and unsubscribeCustomer are email-based and do not require current-session customer identity.