Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(shopware-6-client): add newsletter recipient endpoint #1942

Merged
merged 6 commits into from
Sep 2, 2022

Conversation

mdanilowicz
Copy link
Collaborator

Changes

Add new newsletter recipient endpoint

Checklist

@vercel
Copy link

vercel bot commented Aug 22, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated
shopware-pwa-docs ⬜️ Ignored (Inspect) Aug 29, 2022 at 9:35AM (UTC)

@vercel vercel bot temporarily deployed to preview August 22, 2022 09:06 Inactive
@mdanilowicz mdanilowicz changed the title feat: add newsletter recipient endpoint feat(shopware-6-client): add newsletter recipient endpoint Aug 22, 2022
@vercel vercel bot temporarily deployed to preview August 22, 2022 09:29 Inactive
@github-actions
Copy link

github-actions bot commented Aug 22, 2022

💙 shopware-pwa-test-europe-west1-gcp-storefrontcloud-io successfully deployed at https://8634dea998dd7bcce8e2e437f10b240158f7cbdc.shopware-pwa-test.preview.europe-west1.gcp.storefrontcloud.io

@vercel vercel bot temporarily deployed to preview August 22, 2022 11:02 Inactive
export async function isNewsletterSubscriber(
contextInstance: ShopwareApiInstance = defaultInstance
): Promise<{
status: string;
Copy link
Collaborator

@mkucmus mkucmus Aug 29, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we expect here some specific values to add it as an enum or union of strings using types?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For now, this endpoint is not described in the documentation, which is why I added string, not enum or union. I think that we can change this type when documentation will be updated and we will be sure about all options

Copy link
Collaborator

@mkucmus mkucmus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍🏻 only one question to answer and it's ready to go 💯

@mkucmus mkucmus merged commit 25aaa9a into master Sep 2, 2022
@mkucmus mkucmus deleted the feat/newsletter-recipient-endpoint branch September 2, 2022 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants