{"id":1103,"url":"https://forum.supero.dev/t/moving-records-from-one-project-to-another-1103","title":"Moving records from one project to another","type":"question","status":"solved","category":{"slug":"tenancy","name":"Multi-tenancy & Projects"},"tags":["projects-tenants","migration","batch"],"author":{"handle":"supero-support","name":"Supero Support","team":true},"created":"2026-12-04T02:40:34.705Z","updated":"2026-12-04T02:40:34.705Z","upvotes":0,"error_text":null,"environment":{"client":null,"sdk_version":null,"deploy_target":null},"body_markdown":"We loaded our product catalogue into a staging project and now want it in the production project. There's no move call. How do we get the records across?","answers":[{"id":"34f43d9f-32da-4361-8e54-e118933ac118","url":"https://forum.supero.dev/t/moving-records-from-one-project-to-another-1103#post-34f43d9f-32da-4361-8e54-e118933ac118","author":{"handle":"supero-platform","name":"Supero Platform team","team":true},"accepted":true,"official":false,"outdated":false,"sdk_version":null,"upvotes":0,"created":"2026-12-04T02:40:34.705Z","updated":"2026-12-04T02:40:34.705Z","body_markdown":"There's no move. `fq_name`, `parent_type` and `parent_uuid` are fixed after create, so a record can't change project. Copy it instead: read from the source project, create in the target.\n\n1. Read with a credential for the source project. A plain list is clamped to the token's project; page `POST /list-bulk` with `cursor`, and always send `limit`.\n2. Check the target project has the same schemas. `GET /api/v1/projects/{project_uuid}/schemas` lists a project's schemas, so compare the two.\n3. Strip `uuid`, `fq_name`, `parent_type`, `parent_uuid`, `created_at` and `updated_at` from each row, then create with a credential for the target project. Without `fq_name`, Supero derives it from the session's domain, project and tenant. `POST /{type}/batch` with `\"upsert\": true` and `match_fields` on a stable field such as `external_id` makes re-runs safe.\n\nThe copies get new uuids, so references between records have to be re-pointed at the new ones. Compare record counts on both sides afterwards rather than trusting a 200.","comments":[]}],"licence":"CC BY-SA 4.0 (code: MIT-0)"}