WbDbs icon

WbDbs

n8n node to interact with WB API

Overview

This node interacts with the Wildberries (WB) API specifically for managing DBS assembly orders. The "Patch Dbs Orders Cancel By Orderid" operation allows users to cancel a specific assembly order by providing its unique order ID. This is useful in scenarios where an order needs to be invalidated or stopped after creation, such as when a customer cancels their request or an error is detected in the order.

Practical examples include:

  • Automatically cancelling DBS assembly orders that fail validation checks.
  • Integrating with other systems to cancel orders based on external triggers or business rules.
  • Managing order lifecycle by programmatically controlling cancellations without manual intervention.

Properties

Name Meaning
Order Id The unique identifier of the DBS assembly order to be cancelled. Must be provided as a number.

Output

The node outputs JSON data representing the response from the WB API after attempting to cancel the specified DBS assembly order. This typically includes confirmation of cancellation status or error details if the cancellation failed.

No binary data output is indicated.

Dependencies

  • Requires access to the Wildberries API endpoint for DBS orders.
  • Needs an API key credential or similar authentication token configured in n8n to authorize requests.
  • The base URL and API schema are derived from a bundled OpenAPI specification file (04-orders-dbs_modified.json).

Troubleshooting

  • Common issues:

    • Providing an invalid or non-existent Order Id will likely result in an error response from the API.
    • Missing or incorrect API authentication credentials will cause authorization failures.
    • Network connectivity problems can prevent successful API calls.
  • Error messages:

    • Errors related to invalid order IDs usually indicate that the specified order does not exist or cannot be cancelled.
    • Authentication errors suggest checking the configured API key or token.
    • Timeout or connection errors require verifying network access and API availability.

Resolving these typically involves verifying input parameters, ensuring valid credentials are set up in n8n, and confirming the API service is reachable.

Links and References

  • Wildberries API documentation (for DBS orders management) — consult the official WB API docs for detailed information on order cancellation endpoints and expected responses.
  • n8n documentation on creating custom nodes and using API credentials.

Discussion