Actions5
- Финансовые Отчёты Actions
- Документы Actions
Overview
This node interacts with the Wildberries (WB) API to retrieve document categories. Specifically, the "Get Documents Categories" operation fetches a list of document categories available in the WB system. This is useful for workflows that need to categorize or filter documents based on their type or classification.
Common scenarios include:
- Automating document management by fetching and displaying available document categories.
- Integrating with other systems that require document category metadata.
- Localizing document categories by language for user-friendly display.
For example, a user might want to get all document categories in Russian to present them in a custom dashboard or use them as filters in further processing steps.
Properties
| Name | Meaning |
|---|---|
| Locale | Language of the title field in the response. Options: ru (Russian), en (English), zh (Chinese) |
Output
The node outputs JSON data containing the list of document categories retrieved from the WB API. Each category includes localized titles according to the selected locale.
The output structure typically looks like this (simplified example):
[
{
"id": "category_id_1",
"title": "Category Title in selected locale"
},
{
"id": "category_id_2",
"title": "Another Category Title"
}
]
No binary data output is expected from this operation.
Dependencies
- Requires an API key credential to authenticate requests to the Wildberries API.
- The node uses the WB API base URL configured internally.
- No additional external dependencies are required beyond the API access.
Troubleshooting
Common issues:
- Invalid or missing API credentials will cause authentication errors.
- Incorrect locale values may result in empty or untranslated titles.
- Network connectivity problems can prevent successful API calls.
Error messages:
- Authentication failures usually indicate invalid or expired API keys; verify and update credentials.
- If the API returns an error about unsupported locales, ensure the locale parameter is one of
ru,en, orzh. - Timeout or network errors suggest checking internet connection or API availability.
Links and References
- Wildberries API Documentation (general reference for API endpoints)
- Localization standards for language codes:
ru(Russian),en(English),zh(Chinese)