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

Webhooks #18

Open
fluriumteam opened this issue Jul 12, 2023 · 0 comments
Open

Webhooks #18

fluriumteam opened this issue Jul 12, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@fluriumteam
Copy link
Contributor

fluriumteam commented Jul 12, 2023

Create webhooks to send POST in background to endpoint which shop owner will give to us.
I propose to have only 1 webhook and send all events to it with different event field.
For example, when someone buys products it sends data:

{
    event: "new-order",
    data: {
        product: "...",
        ...
    }
}

When somebody subscribes to shop:

{
    event: "new-subscription",
    data: {
        email: "[email protected]",
        ...
    }
}
@fluriumteam fluriumteam converted this from a draft issue Jul 12, 2023
@fluriumteam fluriumteam added the enhancement New feature or request label Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Status: Todo
Development

No branches or pull requests

1 participant