Ditextil Inventory

Operaciones completas para la API de inventario Ditextil

📥 Borrador Recepción (n8n) → Re-Parsear

AI-generated

Summary

Re-runs the Ditextil backend's parser on an existing reception draft by sending a POST to /api/reception-drafts/{id}/reparse, and returns the API's response.

Inputs

  • ID Borrador (required) — Numeric ID of the reception draft to re-parse. It is inserted into the request path. The default is 0, so set a real ID.

Output shape

The JSON returned by the Ditextil API for the reparse call, emitted as one or more n8n items (an array response becomes one item per element). The node sends no request body and no query parameters.

The source doesn't define the response fields. They depend on the backend, and the updated draft is probably returned, but this isn't confirmed. The request runs once per input item. If 'Continue on Fail' is on, a failed item returns {error: message} instead of stopping the workflow. Authentication uses the ditextilApi credential.

Examples

Example 1: Retry parsing a draft after the parser or product matching rules were updated.

Resource: Borrador Recepción (n8n); Operation: Re-Parsear; ID Borrador: 42

Example 2: Create a draft from text, then re-parse it using the ID returned by the create step.

Resource: Borrador Recepción (n8n); Operation: Re-Parsear; ID Borrador: expression pointing at the previous node's draft id, e.g. {{ $json.id }}

Links

Discussion