WebhookDelivery
ObjectFields returned for webhook delivery.
Fields
- Int!
attemptCount The attempt count of the webhook delivery.
- String
errorMessage The error message of the webhook delivery.
- WebhookEventType!
eventType The type of event that triggered the webhook delivery
Possible enum valuesCUSTOMER_ACTIVATEDA customer account was activated.
CUSTOMER_CREATEDA customer was created.
CUSTOMER_DELETEDA customer was deleted.
CUSTOMER_EMAIL_CONFIRMATION_TOKENA customer email-confirmation flow requires notification.
CUSTOMER_PASSWORD_RESET_TOKENA customer password-reset flow requires notification.
CUSTOMER_UPDATEDA customer was updated.
ORDER_CREATEDAn order was created.
ORDER_PAYMENT_STATE_CHANGEDAn order's payment state changed.
ORDER_UPDATEDAn order was updated.
PRODUCT_CREATEDA product was created.
PRODUCT_DELETEDA product was deleted.
PRODUCT_UPDATEDA product was updated.
- ID!
id The unique identifier of the webhook delivery.
- String!
idempotencyKey The idempotency key of the webhook delivery.
- String!
payload The payload of the webhook delivery.
- DateTime!
requestedAt The timestamp when the webhook request was sent.
- String
response The response of the webhook delivery.
- DateTime
responseReceivedAt The timestamp when the webhook response was received.
- WebhookDeliveryStatus!
status The status of the webhook delivery.
Possible enum valuesFAILEDThe delivery attempt did not succeed.
PENDINGThe delivery is waiting to be attempted.
RETRYINGAnother delivery attempt is scheduled or in progress.
SUCCESSThe destination accepted the delivery.
TIMEOUTThe destination did not respond within the allowed time.
- Int!
statusCode The HTTP status code returned for the webhook delivery.
Queries
Retrieves a webhook delivery by its unique identifier.
Mutations
Resends a failed webhook delivery with the same idempotency key.