---
title: "Commit reviewed import rows"
method: POST
path: "/api/admin/library/polygons/import"
tags: ["polygon-library"]
---

# Commit reviewed import rows

`POST /api/admin/library/polygons/import`

## Request

- Base URL: `https://grandline.luzomi.com`
- URL: `https://grandline.luzomi.com/api/admin/library/polygons/import`
- Auth: none declared

## Request body

- ImportCommit
  - `rows` ImportRow[], required
    - `name` string, required
    - `hierarchy_level` string, required
    - `polygon_family_id` integer, nullable
    - `parent_polygon_id` integer, nullable
    - `country` string, nullable
    - `port_name` string, nullable
    - `terminal_name` string, nullable
    - `code` string, nullable
    - `status` string
    - `sector_ids` integer[]
    - `geometry` object, nullable
    - `wkt` string, nullable
  - `source` string, nullable
  - `source_reference` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/luzomi/apis/grandline-api.md) · [All operations](https://skmtc.dev/luzomi/apis/grandline-api/llms.txt) · [OpenAPI document](https://skmtc.dev/luzomi/apis/grandline-api/revisions/4ce06aea012b?raw)
