WbFbs icon

WbFbs

n8n node to interact with WB API

Overview

This node interacts with the Wildberries (WB) API specifically for managing FBS (Fulfillment by Seller) supplies. The operation "Get Supplies Trbx By Supplyid" retrieves detailed information about a specific supply using its unique supply ID. This is useful in scenarios where you need to track or verify the status and details of a particular supply shipment within the WB ecosystem.

Practical examples include:

  • Fetching supply details to confirm delivery status.
  • Auditing supply records for inventory reconciliation.
  • Integrating supply data into custom dashboards or reporting tools.

Properties

Name Meaning
Supply Id The unique identifier of the supply to retrieve. Example: "WB-GI-1234567"

Output

The node outputs JSON data containing detailed information about the specified supply. This typically includes fields such as supply metadata, status, contents, timestamps, and other relevant attributes returned by the WB API for that supply ID.

If the node supports binary data output, it would represent associated files or documents related to the supply, but based on the provided code and operation, the primary output is structured JSON data describing the supply.

Dependencies

  • Requires access to the Wildberries API.
  • Needs an API key credential or similar authentication token configured in n8n to authorize requests to the WB API.
  • Uses a base URL and OpenAPI specification defined in bundled swagger JSON (03-orders-fbs_modified.json).
  • Depends on the @devlikeapro/n8n-openapi-node package for building request properties and handling API interaction.

Troubleshooting

  • Common issues:

    • Invalid or missing Supply Id: Ensure the Supply Id is correctly provided and exists in the WB system.
    • Authentication errors: Verify that the API key or credentials are properly set up and have sufficient permissions.
    • Network or API downtime: Check connectivity and WB API status if requests fail repeatedly.
  • Error messages:

    • "Supply not found": The given Supply Id does not exist or is incorrect.
    • "Unauthorized": Authentication failed; check API credentials.
    • "Request timeout" or "Network error": Possible connectivity issues; retry or check network settings.

Resolving these usually involves verifying input parameters, credentials, and network conditions.

Links and References

  • Wildberries API documentation (official site or developer portal)
  • n8n documentation on creating and configuring API nodes
  • Swagger/OpenAPI specifications for WB FBS orders (if accessible)

Discussion