Actions19
- Статистика По Продвижению Actions
- Воронка Продаж Actions
- Поисковые Запросы Actions
- История Остатков Actions
- Аналитика Продавца CSV Actions
Overview
This node interacts with the Wildberries (WB) API to post advertising statistics data. Specifically, for the resource "Статистика По Продвижению" (Promotion Statistics), it supports the operation "Post Adv Stats," which allows users to send JSON-formatted data containing date ranges or other relevant parameters to retrieve or update advertising statistics.
Common scenarios include:
- Sending custom date ranges to fetch advertising performance metrics.
- Integrating WB advertising data into workflows for reporting or analysis.
- Automating periodic updates of promotional statistics in external systems.
Example use case: A marketing analyst wants to automatically pull advertising stats for specific dates and feed them into a dashboard. This node can be configured to post the required date parameters and receive the corresponding stats.
Properties
| Name | Meaning |
|---|---|
| Body | JSON object containing the request body to post. Typically includes a dates array specifying the date ranges for which advertising statistics are requested. Example format: { "dates": [null] }. The property accepts any valid JSON structure as required by the WB API for this operation. |
Output
The node outputs JSON data returned from the WB API in response to the posted advertising statistics request. The exact structure depends on the API response but generally includes statistical data related to promotions for the specified dates.
If the API returns binary data (not indicated here), it would be available in the binary output field; however, this node primarily deals with JSON responses.
Dependencies
- Requires an API key credential for authenticating with the Wildberries API.
- The node uses a base URL defined in its internal configuration pointing to the WB analytics endpoint.
- No additional external dependencies beyond standard HTTP requests and JSON handling.
Troubleshooting
- Invalid JSON in Body: If the JSON provided in the Body property is malformed, the node will fail. Ensure the JSON is correctly formatted.
- Authentication Errors: Missing or invalid API credentials will cause authentication failures. Verify that the API key or token is correctly set up in n8n credentials.
- API Response Errors: If the WB API returns errors (e.g., invalid date ranges, unsupported parameters), check the request body content and adjust accordingly.
- Empty or Null Dates: Providing
nullor empty arrays in thedatesfield may lead to unexpected results or no data returned. Specify valid date strings as per API documentation.
Links and References
- Wildberries API Documentation (for advertising statistics): https://openapi.wildberries.ru (Please verify the exact URL as per your access)
- n8n Documentation on HTTP Request Nodes: https://docs.n8n.io/nodes/n8n-nodes-base.httpRequest/
- JSON Formatting Guide: https://www.json.org/json-en.html