avanta icon

avanta

Consume avanta API

Actions57

Bill of Material → Create or Update

AI-generated

Overview

This node handles the creation or updating of Bill of Material (BOM) data within the Avanta API. It supports both single and bulk operations, allowing users to efficiently manage BOM entries by specifying details such as external ID, status, drawing reference, hotspots in JSON format, product SKU, product website ID, and associated items. This node is useful in scenarios where manufacturing or inventory workflows require automated BOM management, such as importing BOM data from external systems or updating existing BOM records in bulk.

Use Case Examples

  1. Importing a new BOM with detailed item lists and product references.
  2. Updating existing BOM entries with new status or drawing information.
  3. Using bulk API to process multiple BOM records in a single operation for efficiency.

Properties

Name Meaning
Request Options Options to control API request behavior, including debug mode, SSL certificate validation, and request timeout.
Use Bulk API Toggle to use the bulk API for processing multiple BOM items.
Dataflow ID Optional override for the dataflow ID, automatically read from webhook input if not set.
External ID Unique identifier for the BOM entry, required for import operation.
Status Numerical status code for the BOM entry.
Drawing Path or identifier to the drawing associated with the BOM.
Hotspots (JSON) JSON string representing hotspots, must be valid JSON if provided.
Produkt Sku SKU of the product associated with the BOM, required.
Produkt Website ID Website ID of the product, required.
Items Collection or JSON array of items included in the BOM, each with position number, SKU, quantity, and unit.

Output

JSON

  • response - API response data including details of the created or updated BOM.
  • debugInfo - Optional debug information about the API request if debug mode is enabled.

Dependencies

  • Avanta API with appropriate credentials

Troubleshooting

  • Ensure that the External ID and required product fields (Produkt Sku, Produkt Website ID) are provided to avoid validation errors.
  • If using bulk API, verify that the dataflow ID is correctly set or available from the webhook input to prevent processing errors.
  • Enable debug mode to get detailed API request and response information for troubleshooting connectivity or data issues.
  • Check that the Hotspots JSON string is valid JSON format to avoid parsing errors.

Discussion