Docs
Dashboard

WebhookSubscriptionCreateInput

Input

The input fields to create a webhook subscription.

#

Fields


events
[WebhookEventType!]!

The list of event types to subscribe to.

Possible enum values
  • CUSTOMER_ACTIVATED

    A customer account was activated.

  • CUSTOMER_CREATED

    A customer was created.

  • CUSTOMER_DELETED

    A customer was deleted.

  • CUSTOMER_EMAIL_CONFIRMATION_TOKEN

    A customer email-confirmation flow requires notification.

  • CUSTOMER_PASSWORD_RESET_TOKEN

    A customer password-reset flow requires notification.

  • CUSTOMER_UPDATED

    A customer was updated.

  • ORDER_CREATED

    An order was created.

  • ORDER_PAYMENT_STATE_CHANGED

    An order's payment state changed.

  • ORDER_UPDATED

    An order was updated.

  • PRODUCT_CREATED

    A product was created.

  • PRODUCT_DELETED

    A product was deleted.

  • PRODUCT_UPDATED

    A product was updated.

isActive
Boolean!

Whether the webhook subscription is active.

url
String!

The URL where the webhook events will be delivered.