Skip to content

Webhooks #18

@ghost

Description

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: "some@mail.com",
        ...
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions