WbDbs icon

WbDbs

n8n node to interact with WB API

Overview

This node interacts with a specific API related to "Метаданные DBS" (DBS Metadata) and performs an update operation named "Put Dbs Orders Meta Uin By Orderid". It updates the metadata of a DBS order by setting a UIN (Unique Identification Number) for a given order ID. This is useful in scenarios where you need to associate or update unique identifiers for assembly or production orders within a DBS system.

Practical examples include:

  • Updating the UIN for a manufacturing or assembly order after it has been created.
  • Synchronizing external unique identifiers with internal order records.
  • Automating metadata management for orders in a supply chain or warehouse system.

Properties

Name Meaning
Order Id The numeric identifier of the assembly order that needs to be updated.
Uin The unique identification number (UIN) to assign to the specified order.

Output

The node outputs JSON data representing the response from the API after updating the order metadata. The exact structure depends on the API but typically includes confirmation of the update, status codes, or the updated order metadata.

No binary data output is indicated.

Dependencies

  • Requires access to the WB API (Wildberries API or similar), which must be configured with appropriate credentials (e.g., an API key or token).
  • The base URL and API schema are loaded from a bundled Swagger/OpenAPI JSON file.
  • The node uses standard HTTP headers for JSON content type and accepts JSON responses.

Troubleshooting

  • Common issues:

    • Invalid or missing Order Id or UIN values will cause the API request to fail.
    • Authentication errors if the API key or credentials are not properly set.
    • Network connectivity problems preventing access to the API endpoint.
  • Error messages:

    • "Unauthorized" or "Authentication failed": Check API credentials configuration.
    • "Order not found" or similar: Verify that the provided Order Id exists.
    • "Invalid UIN format": Ensure the UIN string matches expected formatting rules.

Resolving these usually involves verifying input parameters, ensuring valid credentials, and confirming network access.

Links and References

  • No direct external links are provided in the source code.
  • For more details, consult the API documentation corresponding to the DBS metadata service or the Wildberries API if applicable.

Discussion