WbFbs icon

WbFbs

n8n node to interact with WB API

Overview

This node interacts with a system managing "Сборочные Задания" (Assembly Tasks). Specifically, the operation "Patch Orders Cancel By Orderid" allows users to cancel an existing assembly order by providing its unique identifier. This is useful in workflows where orders need to be programmatically canceled based on certain conditions or external triggers.

Practical examples include:

  • Automatically canceling an assembly order if payment fails.
  • Canceling orders that have been pending for too long.
  • Integrating with inventory systems to cancel orders when stock is insufficient.

Properties

Name Meaning
Order Id The unique numeric ID of the assembly order to be canceled.

Output

The node outputs JSON data representing the result of the cancellation request. This typically includes confirmation of the cancellation status or details about the updated order. No binary data output is indicated.

Dependencies

  • Requires access to an API endpoint related to the "Сборочные Задания" service.
  • Needs an API key or authentication token configured in n8n credentials to authorize requests.
  • The base URL and request headers are set according to the imported OpenAPI specification.

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 may cause authorization failures.
    • Network connectivity problems can prevent successful API calls.
  • Error messages:

    • Errors indicating "Order not found" suggest the provided Order Id does not exist.
    • Authentication errors imply missing or invalid API credentials.
    • Timeout or connection errors indicate network issues.

To resolve these:

  • Verify the Order Id is correct and exists.
  • Ensure API credentials are properly configured in n8n.
  • Check network connectivity and API availability.

Links and References

  • Refer to the API documentation for "Сборочные Задания" for detailed information on order cancellation endpoints.
  • n8n documentation on setting up API credentials and HTTP request nodes.

Discussion