Actions4
- Комиссии Actions
- Коэффициенты Складов Actions
- Стоимость Возврата Продавцу Actions
Overview
This node interacts with the Wildberries (WB) API to retrieve tariff information related to the cost of returns to the seller. Specifically, the "Get Tariffs Return" operation fetches tariff data for product returns on a specified date. This can be useful for sellers or logistics managers who want to analyze return costs on particular days, optimize pricing strategies, or reconcile financial records.
Practical examples include:
- Fetching daily return tariffs to calculate expected return expenses.
- Integrating return cost data into financial dashboards.
- Automating reports on return-related fees for accounting purposes.
Properties
| Name | Meaning |
|---|---|
| Date | The date for which to retrieve return tariffs, formatted as YYYY-MM-DD. This is a required field and determines the specific day's tariff data returned by the node. |
Output
The node outputs JSON data containing tariff details related to returns for the specified date. The exact structure depends on the WB API response but typically includes fields such as tariff rates, conditions, and possibly metadata about the return process.
No binary data output is indicated in the source code.
Dependencies
- Requires access to the Wildberries API.
- Needs an API key credential configured in n8n for authentication with the WB API.
- The node uses a base URL and request defaults derived from a bundled OpenAPI specification (
09-tariffs_modified.json). - No other external dependencies are indicated.
Troubleshooting
- Missing or invalid date format: Ensure the "Date" property is provided and follows the
YYYY-MM-DDformat; otherwise, the API may reject the request. - Authentication errors: Verify that the API key credential is correctly set up and has sufficient permissions.
- Network or API errors: Check connectivity and WB API status if requests fail.
- Unexpected response structure: If the API changes, the node's output might differ; updating the OpenAPI spec or node implementation may be necessary.
Links and References
- Wildberries API documentation (official site or developer portal)
- n8n documentation on creating custom nodes and using credentials
- OpenAPI Specification: https://swagger.io/specification/