---
title: "Import Products"
method: POST
path: "/api/v1/admin/import"
tags: ["admin"]
---

# Import Products

`POST /api/v1/admin/import`

## Request

- Base URL: `https://api.cycle-platform.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.cycle-platform.com/api/v1/admin/import`
- Auth: none declared

Importa fichas (y unidades) copiadas del backend del partner al mirror.
- Conserva el _id original (deep-links/refs idénticos).
- Si rehost=True, DESCARGA y RE-ALOJA las imágenes en el storage propio del mirror
  (evita heredar hotlinks que mueren, p.ej. el caso Mango). Si una imagen falla,
  se deja su url original y se contabiliza como fallo.
- Upsert idempotente por _id (re-ejecutable).
Body: { products:[...], units:[...], org_id?, rehost?=true }

## Request body

- object

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/cycle-platform/apis/cycle-mirror.md) · [All operations](https://skmtc.dev/cycle-platform/apis/cycle-mirror/llms.txt) · [OpenAPI document](https://skmtc.dev/cycle-platform/apis/cycle-mirror/revisions/ed234ffa38b1?raw)
