WbProducts icon

WbProducts

n8n node to interact with WB API

Overview

This node interacts with the Wildberries (WB) API to post stock information by a specific warehouse ID. It is designed to send an array of product barcodes (SKUs) associated with a particular seller's warehouse, updating or querying stock data for that warehouse.

Common scenarios where this node is beneficial include:

  • Synchronizing stock levels for products in a specific warehouse.
  • Automating inventory updates based on barcode lists.
  • Integrating warehouse management systems with WB's stock tracking.

For example, a user can provide a warehouse ID and a list of product barcodes to update the stock information for those products in that warehouse.

Properties

Name Meaning
Warehouse Id The numeric identifier of the seller's warehouse to which stocks relate.
Skus A JSON array of product barcodes (strings) representing the items to post stock information for.

Output

The node outputs JSON data reflecting the response from the WB API after posting the stock information. This typically includes confirmation of the operation's success or details about any errors encountered.

No binary data output is indicated.

Dependencies

  • Requires access to the Wildberries API endpoint configured via the node's base URL.
  • Needs an API key credential or similar authentication token to authorize requests to the WB API.
  • The node uses HTTP headers specifying Accept: application/json and Content-Type: application/json.

Troubleshooting

  • Invalid Warehouse Id: If the warehouse ID does not exist or is incorrect, the API may return an error. Verify the warehouse ID before running the node.
  • Malformed SKUs JSON: The SKUs property expects a valid JSON array of strings. Invalid JSON will cause parsing errors. Ensure the input is correctly formatted.
  • Authentication Errors: Missing or invalid API credentials will result in authorization failures. Confirm that the API key or token is properly configured.
  • API Rate Limits: Frequent calls might hit rate limits imposed by the WB API. Implement retries or backoff strategies if needed.

Links and References

Discussion