Ditextil Inventory

Operaciones completas para la API de inventario Ditextil

🛒 Venta → Listar Ventas

AI-generated

Summary

Fetches all sales orders from the Ditextil inventory API with a single GET to /api/orders. It has no filters or pagination options.

Inputs

None.

Output shape

One n8n item per order record in the API's JSON response. If the API returns a single object, you get one item. Each item is linked to the input item that triggered it.

No query parameters are sent, so filtering by date, client or status has to be done downstream (e.g. Filter or Code node). The endpoint is /api/orders, not a sales-only path. The source doesn't show whether it also returns non-sale orders such as receptions. The exact fields come from the API and aren't defined in the node. The node runs once per input item, so N input items produce N identical requests and the full list repeated N times. With Continue On Fail enabled, errors come back as an item with an 'error' message. Requires the ditextilApi credential (base URL and auth).

Examples

Example 1: Pull all sales orders on a schedule to sync into a spreadsheet or BI tool

Resource: Venta, Operation: Listar Ventas. Trigger with a Schedule node, then pass the output to Google Sheets or a database node.

Example 2: Find recent orders for a client and cancel one

Listar Ventas, then a Filter/Code node to select the order. Feed its id into a second Venta node set to Cancelar Venta / Devolución.

Links

Discussion