Skip to content
This repository was archived by the owner on Dec 19, 2019. It is now read-only.
This repository was archived by the owner on Dec 19, 2019. It is now read-only.

[Mutations] My Account > Newsletter Subsciption #56

Closed
@misha-kotov

Description

@misha-kotov

As a Magento developer, I need to build a functional My Account experience for customers via GraphQL so that I can build basic ecommerce experiences for shoppers on the front-end using only GraphQL.

GraphQL needs to provide sufficient mutations (ways to create/update/delete data) for a developer to build out the storefront My Account experience for a shopper.

Use cases:

  • A logged-in shopper can change their newsletter subscription preference from the My Account Page

Acceptance criteria:

  • GraphQL provides a mutation through which the current logged-in shopper can subscribe or unsubscribe from any newsletter
  • Authentication is handled through a session cookie
  • A guest shopper cannot change the account information for any user
  • Changes are covered with web API functional tests. See \Magento\GraphQl\Catalog\ProductViewTest::testQueryAllFieldsSimpleProduct as an example.

My Account area impacted:

  • Newsletter Subscriptions tab
    image

Note: functionality is closely related to issue #55 since they both modify the customer record

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions