avanta icon

avanta

Consume avanta API

Actions57

Requests - Inquiry → Create or Update

AI-generated

Overview

This node handles the creation or updating of customer inquiries within the Requests - Inquiry resource. It is useful for workflows that need to manage customer inquiry data, such as recording offers, questions, or cart offers from customers, along with detailed inquiry positions and associated document files. Practical examples include automating the intake of customer inquiries from a web form or integrating inquiry data from other systems into a central database.

Use Case Examples

  1. Creating a new customer inquiry with multiple inquiry positions and attached document files.
  2. Updating an existing inquiry with additional details or status changes.

Properties

Name Meaning
Request Options Options to configure the API request behavior, including debug mode, SSL certificate validation, and request timeout.
Return to Webhook Whether to return the response to a webhook, requiring a subsequent 'Respond to Webhook' node.
Use Bulk API Whether to use the bulk API for processing multiple items.
Dataflow ID Optional override for the dataflow ID, automatically read from webhook input if not set.
Company Customer ID Customer ID of the company.
Company ID Internal ID of the company.
Customer Inquiry ID Inquiry ID provided by the customer.
Inquiry Type Type of inquiry such as offer, question, or cart offer.
Inquiry Positions Type Method to add inquiry positions, either via UI fields or raw JSON.
Inquiry Positions Collection of inquiry position details including product info, quantity, SKU, and additional fields.
Inquiry Positions JSON Raw JSON input for inquiry positions.
Document Files Inquiry document files provided either via UI collection or raw JSON array.
Additional Fields Additional optional fields for the inquiry such as extension attributes, store ID, status, content, address details, and customer info.

Output

JSON

  • inquiry_id - Internal inquiry ID assigned or updated.
  • status - Status of the inquiry after creation or update.
  • content - Content or details of the inquiry.
  • customer_id - Customer ID of the company associated with the inquiry.
  • company_id - Internal company ID associated with the inquiry.
  • customer_inquiryid - Customer-provided inquiry ID.
  • inquiry_type - Type of inquiry (offer, question, cart offer).
  • inquiry_positions - Details of inquiry positions added to the inquiry.
  • document_files - Information about document files attached to the inquiry.

Dependencies

  • An API key credential for authenticating with the Avanta API.

Troubleshooting

  • Ensure required fields such as Company Customer ID, Customer Inquiry ID, and Inquiry Type are provided to avoid validation errors.
  • If using the bulk API, verify that the dataflow ID is correctly set or available in the webhook input to prevent processing errors.
  • Enable Debug Mode to get detailed API request information for troubleshooting connection or data issues.
  • If SSL certificate validation fails, consider enabling 'Ignore SSL Issues' option, but be aware of security risks.

Discussion