Skip to main content

Webhook API (1.0.0)

Download OpenAPI specification:Download

This is an internal API for newstore teams, to be called from service-mesh, to send the events payload.

webhook

Webhook events

Create Event

Webhook API is a replacement for events, accepts the event payload and event_name

Request Body schema: application/json
One of
event_name
string
Value: "delivery_booked"

The store where the order was placed.

object

Responses

Request samples

Content type
application/json
{
  • "payload": {
    },
  • "event_name": "delivery_booked"
}

Response samples

Content type
application/problem+json
{
  • "error_code": "string",
  • "message": "string",
  • "request_id": "string"
}