WbProducts icon

WbProducts

n8n node to interact with WB API

Overview

This node interacts with the "Цены И Скидки" (Prices and Discounts) resource of an API to retrieve a paginated list of goods that are currently under quarantine. It is useful in scenarios where users need to monitor or process items restricted due to quarantine measures, for example, in supply chain management, inventory control, or compliance tracking.

A practical example would be fetching batches of quarantined products to analyze their status or update related records in another system.

Properties

Name Meaning
Limit Number of items to return per page (pagination). Maximum allowed is 1000 elements.
Offset The index after which to start returning data, used for pagination to skip a number of items.

Output

The node outputs JSON data containing the list of quarantined goods retrieved from the API. Each item in the output corresponds to a quarantined product record as returned by the external service. The structure typically includes product details relevant to quarantine status.

No binary data output is indicated.

Dependencies

  • Requires connection to the external API providing the "Цены И Скидки" resource.
  • Needs an API key or authentication token configured in n8n credentials to authorize requests.
  • The base URL and request headers are preconfigured based on the bundled OpenAPI specification.

Troubleshooting

  • Common issues:

    • Exceeding the maximum limit of 1000 items may cause errors or truncated results.
    • Incorrect offset values might lead to missing or repeated data in pagination.
    • Authentication failures if the API key or token is missing or invalid.
    • Network connectivity problems affecting API calls.
  • Error messages:

    • "Unauthorized" or "Authentication failed": Check API credentials configuration.
    • "Invalid parameter" related to limit or offset: Ensure limit ≤ 1000 and offset ≥ 0.
    • "Timeout" or "Network error": Verify network access and API availability.

Links and References

  • No direct links provided in the source code.
  • Refer to the official API documentation of the "Цены И Скидки" service for detailed information on parameters and response schema.

Discussion