AvantGuard - DNSFilter icon

AvantGuard - DNSFilter

AvantGuard - DNSFilter

Actions277

Overview

This node operation allows adding a SKU (Stock Keeping Unit) to a distributor organization within the "Distributors" resource. It is useful for managing inventory or product catalogs by associating specific SKUs with distributor organizations. Practical scenarios include updating distributor records with new products, syncing inventory data, or automating product management workflows.

Properties

Name Meaning
Body JSON object containing the details of the SKU to add. This is the main payload sent in the request body.
Id Numeric identifier of the distributor organization to which the SKU will be added.

Output

The output contains a json field representing the response from the API after attempting to add the SKU to the specified distributor organization. The structure typically reflects the updated organization or confirmation of the SKU addition. No binary data output is indicated.

Dependencies

  • Requires an API key credential for authentication with the external service managing distributors.
  • The node uses a base URL and headers preset for JSON communication with the API.
  • The bundled code references an OpenAPI specification file (openapi.json) that defines the API endpoints and schema.

Troubleshooting

  • Missing or invalid Id: Ensure the organization ID is provided and valid; otherwise, the API may return errors indicating the organization was not found.
  • Malformed Body JSON: The body must be a valid JSON object matching the expected schema for adding a SKU; invalid JSON or missing required fields can cause request failures.
  • Authentication errors: Verify that the API key credential is correctly configured and has sufficient permissions.
  • Network or API errors: Check connectivity and API status if requests fail unexpectedly.

Links and References

  • Refer to the external API documentation for detailed schema and examples of the SKU addition endpoint.
  • Consult n8n documentation on how to configure API key credentials and use JSON input properties.

Discussion