Shopware icon

Shopware

Shopware

Actions778

Currency → Get Currency

AI-generated

Overview

This node operation retrieves information about a specific currency by its identifier. It is useful in scenarios where you need to fetch details of a currency, such as its code, symbol, or other metadata, from an external system or API. For example, it can be used in financial applications to get currency details for transactions or reporting.

Use Case Examples

  1. Fetch currency details by providing the currency ID to display its symbol and exchange rate.
  2. Use the node to get currency information before processing payments or conversions.

Properties

Name Meaning
Id Identifier for the currency to retrieve its details.
Request Options Settings to control request behavior such as batching, SSL validation, proxy, and timeout.

Output

JSON

  • currency
    • id - The unique identifier of the currency.
    • code - The currency code, e.g., USD, EUR.
    • symbol - The symbol representing the currency.
    • name - The full name of the currency.
    • exchangeRate - The exchange rate of the currency relative to a base currency.

Dependencies

  • An API key credential for authenticating with the external currency service.

Troubleshooting

  • Ensure the currency ID provided is valid and exists in the external system to avoid 'not found' errors.
  • Check network connectivity and proxy settings if requests time out or fail.
  • If SSL validation errors occur, consider enabling the 'Ignore SSL Issues' option cautiously.
  • Verify that the API key credential is correctly configured and has necessary permissions.

Discussion