Shopware icon

Shopware

Shopware

Actions778

Order Transaction Capture Refund → Create Order Transaction Capture Refund

AI-generated

Overview

This node operation creates a refund for an order transaction capture in Shopware. It is useful in e-commerce scenarios where a refund needs to be issued for a previously captured payment on an order. For example, if a customer returns a product, this node can be used to process the refund transaction in the Shopware system.

Use Case Examples

  1. Issuing a refund for a captured payment on an order after a product return.
  2. Automating refund processes in an order management workflow.

Properties

Name Meaning
Response Data format for the response, either basic or detailed.
Id The identifier of the order transaction capture refund to create.
Version Id Version identifier for the refund entity.
Capture Id Identifier of the capture transaction to refund.
Capture Version Id Version identifier for the capture transaction.
State Id Identifier of the state for the refund transaction.
External Reference External reference for the refund transaction.
Reason Reason for the refund.
Amount Amount details for the refund, including list price and regulation price.
Custom Fields Custom fields for additional data.
Created At Creation timestamp for the refund.
Updated At Update timestamp for the refund.
State Machine State State machine state details for the refund transaction.
Transaction Capture Details of the transaction capture related to the refund.
Positions Positions related to the refund, including amounts and order line items.
Request Options Node execution options such as batching, SSL handling, proxy, and timeout settings.

Output

JSON

  • id - Identifier of the created refund transaction.
  • amount - Amount details of the refund.
  • stateId - State identifier of the refund transaction.
  • reason - Reason for the refund.
  • createdAt - Creation timestamp of the refund.
  • updatedAt - Update timestamp of the refund.
  • positions - Positions related to the refund.
  • transactionCapture - Details of the related transaction capture.
  • stateMachineState - State machine state details of the refund.

Dependencies

  • Shopware API with appropriate credentials

Troubleshooting

  • Ensure all required fields (Id, Capture Id, State Id, Amount) are provided to avoid validation errors.
  • Check API credentials and endpoint URL for connectivity issues.
  • If the response format is not as expected, verify the '_response' property setting (basic or detail).
  • For SSL issues, consider enabling 'Ignore SSL Issues' option if using self-signed certificates.

Discussion