Shopware icon

Shopware

Shopware

Actions778

Webhook Event Log → Update Webhook Event Log

AI-generated

Overview

This node updates a Webhook Event Log entry in the Shopware system. It is useful for scenarios where you need to modify details of an existing webhook event log, such as updating the delivery status, response content, or timestamps. For example, it can be used to correct or add information to a webhook event log after receiving new data or to track the processing time and status of webhook events.

Use Case Examples

  1. Updating the delivery status and response content of a webhook event log after processing a webhook event.
  2. Modifying the timestamp and processing time fields to reflect the actual processing duration of a webhook event.

Properties

Name Meaning
Id Identifier for the webhook_event_log, used to specify which log entry to update.
Response Data format for response, used as a query parameter to specify the response format.
App Name Name of the application related to the webhook event log.
Webhook Name Name of the webhook associated with the event log.
Event Name Name of the event that triggered the webhook.
Delivery Status Status of the webhook event delivery.
Timestamp Timestamp of the webhook event.
Processing Time Time taken to process the webhook event.
App Version Version of the application related to the webhook event log.
Request Content Content of the request sent by the webhook, in JSON format.
Response Content Content of the response received from the webhook, in JSON format.
Response Status Code HTTP status code of the webhook response.
Response Reason Phrase Reason phrase associated with the HTTP status code.
Url URL of the webhook endpoint.
Only Live Version Boolean flag indicating if only the live version should be considered.
Custom Fields Custom fields in JSON format for additional data.
Created At Creation timestamp of the webhook event log entry.
Updated At Last updated timestamp of the webhook event log entry.
Request Options Settings for request handling such as batching, SSL validation, proxy, and timeout.

Output

JSON

  • id - Identifier of the updated webhook event log entry.
  • appName - Name of the application related to the webhook event log.
  • webhookName - Name of the webhook associated with the event log.
  • eventName - Name of the event that triggered the webhook.
  • deliveryStatus - Status of the webhook event delivery.
  • timestamp - Timestamp of the webhook event.
  • processingTime - Time taken to process the webhook event.
  • appVersion - Version of the application related to the webhook event log.
  • requestContent - Content of the request sent by the webhook, in JSON format.
  • responseContent - Content of the response received from the webhook, in JSON format.
  • responseStatusCode - HTTP status code of the webhook response.
  • responseReasonPhrase - Reason phrase associated with the HTTP status code.
  • url - URL of the webhook endpoint.
  • onlyLiveVersion - Boolean flag indicating if only the live version should be considered.
  • customFields - Custom fields in JSON format for additional data.
  • createdAt - Creation timestamp of the webhook event log entry.
  • updatedAt - Last updated timestamp of the webhook event log entry.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure the 'Id' property is correctly set to identify the webhook event log to update; missing or incorrect Id will cause update failure.
  • Verify that required fields such as 'Webhook Name', 'Event Name', 'Delivery Status', and 'Url' are provided to avoid incomplete updates.
  • Check network connectivity and API credentials if the node fails to connect to the Shopware API.
  • If SSL issues occur, consider enabling 'Ignore SSL Issues' in request options, but be aware of security implications.

Discussion