You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

18 rivejä
824 B

  1. # Copyright © Magento, Inc. All rights reserved.
  2. # See COPYING.txt for license details.
  3. type Mutation {
  4. subscribeEmailToNewsletter(email: String! @doc(description: "The email address that will receive the store's newsletter.")): SubscribeEmailToNewsletterOutput @doc(description:"Subscribe the specified email to the store's newsletter.") @resolver(class: "Magento\\NewsletterGraphQl\\Model\\Resolver\\SubscribeEmailToNewsletter")
  5. }
  6. type SubscribeEmailToNewsletterOutput @doc(description: "Contains the result of the `subscribeEmailToNewsletter` operation.") {
  7. status: SubscriptionStatusesEnum @doc(description: "The status of the subscription request.")
  8. }
  9. enum SubscriptionStatusesEnum @doc(description: "Indicates the status of the request.") {
  10. NOT_ACTIVE
  11. SUBSCRIBED
  12. UNSUBSCRIBED
  13. UNCONFIRMED
  14. }