---
title: "Erp Upsert Item Onboarding Run File"
method: POST
path: "/api/erp/workflows/item-onboarding/runs/{run_id}/files"
tags: ["ERP"]
---

# Erp Upsert Item Onboarding Run File

`POST /api/erp/workflows/item-onboarding/runs/{run_id}/files`

## Request

- Base URL: `https://api.qomplement.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.qomplement.com/api/erp/workflows/item-onboarding/runs/{run_id}/files`
- Auth: none declared

## Path parameters

- `run_id` string, required

## Headers

- `x-api-key` string, nullable
- `authorization` string, nullable

## Request body

- ItemOnboardingRunFilePayload
  - `file_key` string, required
  - `filename` string, required
  - `label` string, nullable
  - `document_id` string, nullable
  - `batch_id` string, nullable
  - `mime_type` string, nullable
  - `size` integer, nullable
  - `status` string
  - `headers` string[]
  - `rows` object[]
  - `row_count` integer, nullable
  - `metadata` object

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-02** `497967424011`: 1 info
  - endpoint added
- **2026-08-29** `7a7c8e2b5afc`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/qomplement/apis/qomplement-api/changes/api/erp/workflows/item-onboarding/runs/:run_id/files/post.md)

---

[API](https://skmtc.dev/qomplement/apis/qomplement-api.md) - [All operations](https://skmtc.dev/qomplement/apis/qomplement-api/llms.txt) - [OpenAPI document](https://skmtc.dev/qomplement/apis/qomplement-api/revisions/6fe617c112ef?raw)
