AvantGuard - DNSFilter icon

AvantGuard - DNSFilter

AvantGuard - DNSFilter

Actions277

Overview

This node operation allows you to remove a SKU (Stock Keeping Unit) from a distributor organization. It is useful in scenarios where you manage product inventories or catalogs linked to distributor organizations and need to update or clean up SKUs associated with them. For example, if a product is discontinued or no longer distributed by a particular organization, this operation helps remove that SKU from the organization's records.

Properties

Name Meaning
Body JSON object containing the details of the SKU removal request. This is sent as query parameters in the API call. The exact structure depends on the API but typically includes SKU identifiers or related data.
Id Numeric identifier of the distributor organization from which the SKU should be removed.

Output

The output will contain a json field representing the response from the API after attempting to remove the SKU from the specified distributor organization. The structure of this JSON depends on the external API's response format but generally indicates success or failure of the removal operation along with any relevant messages or data.

No binary data output is expected from this operation.

Dependencies

  • Requires an API key credential for authenticating requests to the AvantGuard DNSFilter service or a similar external API managing distributor organizations.
  • The node uses HTTP requests with JSON content type and expects JSON responses.
  • Proper configuration of the API base URL and authentication headers is necessary within n8n credentials.

Troubleshooting

  • Missing or invalid organization ID: Ensure the "Id" property is set correctly to a valid numeric organization identifier.
  • Malformed JSON in Body: The "Body" property must be valid JSON; otherwise, the API request may fail.
  • Authentication errors: Verify that the API key credential is correctly configured and has sufficient permissions.
  • API errors: If the API returns an error, check the message for details such as SKU not found or insufficient rights to modify the organization.
  • Network issues: Confirm network connectivity to the API endpoint.

Links and References

  • No direct links available from the source code. Refer to the AvantGuard DNSFilter API documentation or the distributor management API documentation for detailed information on request body structure and response formats.

Discussion