Docs
Dashboard

WebhookSubscriptionUpdateInput

Input

The input fields to update a webhook subscription.

#

Fields


events
[WebhookEventType!]

The new list of event types to subscribe to. If not provided, the subscribed events remain unchanged.

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.

id
ID!

The ID of the webhook subscription to update.

isActive
Boolean

Whether the webhook subscription should be active or inactive.

url
String

The new URL for the webhook subscription. If not provided, the URL remains unchanged.