---
title: "Create item"
method: POST
path: "/api/v1/external/shipments/{shipmentId}/items"
tags: ["Shipments"]
---

# Create item

`POST /api/v1/external/shipments/{shipmentId}/items`

## Request

- Base URL: `https://api.wove.com`
- URL: `https://api.wove.com/api/v1/external/shipments/{shipmentId}/items`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/wove/apis/wove-external-api/docs/api/v1/external/shipments/:shipmentId/items/post.ts> (a function with typed inputs; its response is checked against the schema)

Add a new item to a package.

## Path parameters

- `shipmentId` string, required

## Request body

- CreateItemRequest
  - `packageId` string, nullable: Package ID this item belongs to
  - `containerId` string, nullable: Container ID (optional)
  - `lineNumber` integer: Line number for ordering
  - `sku` string: Stock Keeping Unit
  - `partNumber` string: Part number
  - `description` string: Item description
  - `quantity` integer: Quantity of items
  - `unitOfMeasure` string: Unit of measure for quantity
  - `unitPrice` number: Price per unit
  - `amount` number: Total amount
  - `currency` string: Currency code
  - `countryOfOrigin` string: Country of origin code
  - `hsCode` string: Harmonized System code
  - `weight` number: Weight per item
  - `weightUnit` string: Unit for weight measurement

## Response `201`

Item created successfully

- object
  - `success` boolean
  - `data` ShipmentItem
    - `id` string
    - `lineNumber` integer
    - `sku` string
    - `partNumber` string
    - `description` string
    - `quantity` number
    - `unitOfMeasure` string
    - `unitPrice` number
    - `amount` number
    - `currency` string
    - `countryOfOrigin` string
    - `hsCode` string
    - `weight` number
    - `weightUnit` string
    - `volume` number
    - `volumeUnit` string
    - `packageNumber` string
    - `dimensions` object
      - `length` number
      - `width` number
      - `height` number
      - `unit` string
  - `message` string

## Other responses

- `400`: Invalid request data
- `404`: Shipment or package not found

---

[API](https://skmtc.dev/wove/apis/wove-external-api.md) - [All operations](https://skmtc.dev/wove/apis/wove-external-api/llms.txt) - [OpenAPI document](https://skmtc.dev/wove/apis/wove-external-api/revisions/37290e267e07?raw)
