---
title: "Process Upc File"
method: POST
path: "/rfm/upc"
tags: ["RFM UPC Processing"]
---

# Process Upc File

`POST /rfm/upc`

Process a UPC file from S3 and match UPCs against the product catalog

## Request body

- ProcessUPCFileRequest — Request model for processing a UPC file from S3.
  - `s3_key` string, required — The S3 key where the file was uploaded (provided by generate-upload-url)
  - `file_name` string, required — The original name of the uploaded file

## Response `202`

UPC processing started

- SrcAsyncJobServiceBuildConcreteAsyncJobRecordClassLocalsConcreteAsyncJobRecord3
  - `id` integer, nullable — ID of this object.
  - `created_at` string, date-time, nullable — datetime object representing when this object was created.
  - `updated_at` string, date-time, nullable — datetime object representing when this object was updated.
  - `deleted_at` string, date-time, nullable — datetime object representing when this object was deleted.
  - `status` 'RUNNING' | 'COMPLETED' | 'FAILED'
  - `endpoint` string — Endpoint spawning async job
  - `request` union — request sent to endpoint
    - object
    - unknown[]
      - unknown
  - `sync_response` union — sync response
    - object
    - unknown[]
      - unknown
  - `error` string, nullable — error message
  - `response` object, nullable

## Other responses

- `400` — Invalid request parameters
- `403` — Authentication required
- `422` — Validation Error

---

[API](https://skmtc.net/akkio/apis/fastapi.md) · [All operations](https://skmtc.net/akkio/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/akkio/fastapi/versions/6662a407c637/schema)
