WbProducts icon

WbProducts

n8n node to interact with WB API

Overview

This node interacts with the Wildberries (WB) API to retrieve hierarchical category data related to products and their characteristics. Specifically, the "Get Object Parent All" operation under the resource "Категории Предметы И Характеристики" fetches all parent objects of a given item in the category hierarchy. This is useful for scenarios where you need to understand or display the full lineage or categorization path of a product attribute or category.

Practical examples include:

  • Building breadcrumb navigation on an e-commerce site by retrieving all parent categories of a selected product category.
  • Analyzing product classification trees for reporting or inventory management.
  • Localizing category names based on user language preferences.

Properties

Name Meaning
Locale Language of the response field name. Options: ru (Russian), en (English), zh (Chinese). Not used in sandbox mode.

Output

The node outputs JSON data containing the full list of parent objects for the specified category or characteristic. Each object typically includes localized names according to the selected locale, allowing easy integration into multilingual applications.

If binary data were output, it would represent associated files or media linked to the categories, but this node focuses on JSON structured data only.

Dependencies

  • Requires access to the Wildberries API.
  • Needs an API key credential configured in n8n for authentication with the WB API.
  • The node uses HTTP requests with JSON content type headers.
  • No additional environment variables are explicitly required beyond standard API credentials.

Troubleshooting

  • Common issues:

    • Incorrect or missing API credentials will cause authentication failures.
    • Using unsupported locale values may result in default or empty name fields.
    • Network connectivity problems can prevent successful API calls.
  • Error messages:

    • Authentication errors usually indicate invalid or expired API keys; verify and update credentials.
    • API rate limiting errors suggest too many requests in a short time; implement retry logic or reduce request frequency.
    • Unexpected empty responses might mean the requested category ID does not exist or has no parents; check input parameters.

Links and References

Discussion