avanta icon

avanta

Consume avanta API

Actions57

Company - Address → Create or Update

AI-generated

Overview

This node handles the creation or updating of company address records within the Avanta API. It is useful for workflows that need to manage company address data, such as adding new addresses or modifying existing ones in bulk or individually. Practical examples include updating customer shipping or billing addresses automatically from form submissions or syncing address data from other systems.

Use Case Examples

  1. Create multiple company addresses in bulk using the bulk API option.
  2. Update a single company address with specific details like city, postcode, and telephone.
  3. Use the debug mode to troubleshoot API request details during address creation or update.

Properties

Name Meaning
Request Options Options to control API request behavior such as enabling debug mode, ignoring SSL issues, and setting request timeout.
Return to Webhook Whether to return the API response to a webhook, requiring a subsequent 'Respond to Webhook' node.
Use Bulk API Whether to use the bulk API for processing multiple address items at once.
Dataflow ID Optional override for the dataflow ID, used when triggered via a dataflow profile.
Company Customer ID Identifier for the company customer associated with the address.
Company Store Group Name or ID Select or specify the company store group associated with the address.
External Address ID External identifier for the address, useful for integration with other systems.
Additional Fields Additional address details such as address type, city, company name, country, default status, extension attributes, postcode, read-only status, region, street, telephone, and VAT ID.

Output

JSON

  • response - The API response containing details of the created or updated company address.
  • debugInfo - Optional debug information including API request details if debug mode is enabled.

Dependencies

  • Requires an API key credential for Avanta API authentication.

Troubleshooting

  • Ensure the API credentials are correctly configured to avoid authentication errors.
  • If using the bulk API, verify that the input data format matches the expected structure for bulk processing.
  • Enable debug mode to get detailed API request and response information for troubleshooting.
  • Check SSL settings if connection issues occur, especially if ignoring SSL issues is disabled.

Discussion