Digital Wallet Cards icon

Digital Wallet Cards

Interact with Digital Wallet Cards loyalty program API

Overview

This node interacts with a Digital Wallet Cards loyalty program API, specifically managing company data when the resource is set to "Company" and the operation is "Update". It allows updating details of an existing company such as its name, description, website, logo, and additional metadata.

Typical use cases include:

  • Keeping company information up-to-date in a loyalty program system.
  • Automating updates to company profiles based on external data changes.
  • Integrating company management into broader workflow automations.

For example, you might update a company's website URL or add new metadata describing the company’s attributes without manually editing the system.

Properties

Name Meaning
Company ID The unique identifier of the company to update (required).
Update Fields A collection of fields to update for the company. Possible fields:
- Name: The company's name.
- Description: A textual description of the company.
- Website: The company's website URL.
- Logo: URL to the company's logo image.
- Metadata: Additional JSON-formatted metadata related to the company.

Output

The output is a JSON object representing the updated company record returned from the API after a successful update operation. It includes the updated fields and any other relevant company information as provided by the API response.

No binary data output is involved in this operation.

Dependencies

  • Requires an API key credential configured in n8n to authenticate requests to the Digital Wallet Cards API.
  • The node makes HTTP PATCH requests to the /api/v2/companies/{companyId} endpoint of the Digital Wallet Cards API.
  • The node expects the API base URL to be https://api.digitalwallet.cards.

Troubleshooting

  • Error: "At least one field must be specified for update"
    This error occurs if no update fields are provided. Ensure that at least one field in the "Update Fields" collection is filled before executing the node.

  • Invalid Company ID
    If the provided Company ID does not exist or is invalid, the API will likely return an error. Verify the Company ID is correct.

  • Malformed Metadata JSON
    The "Metadata" field expects valid JSON. Invalid JSON syntax will cause parsing errors. Make sure the JSON is well-formed.

  • Authentication Errors
    If the API key or credentials are missing or incorrect, the node will fail to authenticate. Check your API credentials configuration.

Links and References

Discussion