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 on order metadata by setting the GTIN (Global Trade Item Number) for a given order ID. It is useful in scenarios where you need to programmatically update or correct product identifiers associated with assembly or fulfillment orders in a DBS system.

Practical examples include:

  • Automatically updating GTINs for orders after receiving corrected product information.
  • Integrating with inventory or ERP systems to synchronize product metadata.
  • Ensuring that order metadata contains accurate GTINs for downstream processing or reporting.

Properties

Name Meaning
Order Id The unique identifier of the assembly order to update. Must be a number.
Gtin The GTIN (Global Trade Item Number) to assign to the specified order. Must be a string representing a valid GTIN code.

Output

The node outputs JSON data reflecting the response from the API after attempting to update the GTIN for the specified order. This typically includes confirmation of success or details about the updated order metadata.

If the API supports binary data output, it is not indicated here; thus, the output is expected to be purely JSON.

Dependencies

  • Requires access to the WB API (Wildberries API or similar), which must be configured with appropriate authentication credentials (e.g., an API key or token).
  • The base URL and request defaults are derived from an OpenAPI specification bundled with the node.
  • No additional external dependencies beyond standard HTTP request capabilities and the provided API credential.

Troubleshooting

  • Common issues:

    • Invalid or missing Order Id or GTIN values will cause the API call to fail.
    • Authentication errors if the API key or token is not set or expired.
    • Network connectivity problems preventing communication with the API endpoint.
  • Error messages:

    • Errors related to invalid input parameters usually indicate that the Order Id or GTIN was not provided or formatted correctly.
    • Authorization errors suggest checking the API credentials configuration.
    • Timeout or connection errors require verifying network access and API availability.

To resolve these issues:

  • Ensure all required properties are correctly filled.
  • Verify API credentials and renew them if necessary.
  • Check network settings and API status.

Links and References

  • GTIN Information
  • Documentation for the WB API (if publicly available) should be consulted for detailed API behavior and error codes.

Discussion