WbFbs icon

WbFbs

n8n node to interact with WB API

Overview

This node is designed to interact with a specific API related to "Сборочные Задания" (Assembly Tasks) and specifically supports the operation "Post Orders Client." It allows users to send a list of orders in JSON format to the target API endpoint. This functionality is useful for automating order submission workflows, such as batch posting multiple client orders to an external system for processing or fulfillment.

Practical examples include:

  • Automatically sending new customer orders collected from an e-commerce platform to a warehouse management system.
  • Batch uploading orders received offline into a centralized order processing API.
  • Integrating order data from various sources into a single backend service for further handling.

Properties

Name Meaning
Orders A JSON array representing the list of orders to be posted. The value should be a valid JSON string that parses into an array of order objects.

Output

The node outputs JSON data corresponding to the response from the API after posting the orders. The exact structure depends on the API's response but typically includes confirmation details about the submitted orders, such as success status, order IDs, or error messages if any occurred.

There is no indication that this node handles binary data output.

Dependencies

  • Requires an API key credential for authentication with the target API (referred generically as "an API key credential").
  • Depends on the base URL and OpenAPI specification defined in the bundled swagger JSON file (03-orders-fbs_modified.json).
  • Uses an internal helper library for building properties and making HTTP requests.
  • The node expects the input orders property to be a JSON string that can be parsed into an array.

Troubleshooting

  • Invalid JSON in Orders: If the "Orders" input contains malformed JSON, the node will fail to parse it, resulting in an error. Ensure the JSON string is correctly formatted.
  • Authentication Errors: Missing or invalid API credentials will cause authorization failures. Verify that the required API key credential is configured properly.
  • API Endpoint Issues: Network errors or incorrect base URL configuration may prevent successful communication with the API.
  • Empty or Null Orders: Sending null or empty arrays might lead to unexpected API responses or errors. Always provide a valid list of orders.

Links and References

  • No direct external links are provided in the source code.
  • For more information on the API, refer to the documentation associated with the 03-orders-fbs_modified.json OpenAPI specification (not included here).

Discussion