> For the complete documentation index, see [llms.txt](https://www.litewm.com/litewm-saas/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.litewm.com/litewm-saas/openapis/item-create-update.md).

# Item create/update

#### Item create/update

**URI** `/api/items`

**Method** `POST`

**Header** `Authorization: Bearer jwt.token.string`

**Header** `Content-Type: application/json`

**Body** raw (json)

```json
{
    "items":
    [
        {
            "code": "6901236341384",
            "name": "Tissue133mmx195mm120P",
            "pack_lines":
            [
                {
                "unit_level": "PCS",
                "unit": "PA",
                "ratio": 1,
                "inner_unit": ""
                },
                {
                "unit_level": "CTN",
                "unit": "CT",
                "ratio": 12,
                "inner_unit": "PA"
                }
            ]
        },
        {
            "code": "6923146003442",
            "name": "Toothbrush",
            "pack_lines":
            [
                {
                "unit_level": "PCS",
                "unit": "PC",
                "ratio": 1,
                "inner_unit": ""
                }
            ]
        }
    ]
}
```

**Response** raw (json)

```json
{
    "message": "items created: 2, updated: 0"
}
```

####
