Ditextil Inventory

Operaciones completas para la API de inventario Ditextil

📥 Borrador Recepción (n8n) → Obtener Borrador Recepción

AI-generated

Summary

Fetches a single reception draft from the Ditextil inventory API by its numeric ID, using a GET request to /api/reception-drafts/{id}.

Inputs

  • ID Borrador (receptionDraftId) (required) — Numeric ID of the reception draft to retrieve. Defaults to 0, so set it to a real draft ID. It can be an expression, for example the ID returned by 'Crear desde Texto' or 'Listar Borradores Recepción'.

Output shape

One output item per input item, containing the JSON of the reception draft as returned by the Ditextil API.

The source doesn't show the response fields, so they depend on the API. If the API returns an array, each element becomes its own item. If a request fails and 'Continue On Fail' is enabled, the item contains {error: message}. Otherwise the node throws. The node needs the ditextilApi credential, which supplies the base URL and authentication. No query parameters or body are sent.

Examples

Example 1: Check the parsed contents of a draft before confirming it.

Resource: Borrador Recepción (n8n); Operation: Obtener Borrador Recepción; ID Borrador: {{ $json.id }} from the previous Crear desde Texto node.

Links

Discussion