---
title: "Create a serial number"
method: POST
path: "/serialnumbers"
tags: ["Serial Numbers"]
---

# Create a serial number

`POST /serialnumbers`

Creates a serial number.

🔒 Requires: `serial_numbers:write` scope

## Request body

- SerialNumberRequest
  - `code` string, required — The actual serial number value.
  - `outlet_id` string, uuid, required — The ID of the outlet where the serial number is located.
  - `product_id` string, uuid, required — The ID of the product associated with the serial number.

## Response `201`

The serial number

- SerialNumberResponse
  - `data` SerialNumber
    - `code` string — The actual serial number value.
    - `id` string — Auto-generated object ID.
    - `line_item_id` string, uuid, nullable — The ID of the sale line item where this serial number was sold, or null.
    - `outlet_id` string, uuid — The ID of the outlet where the serial number is located.
    - `product_id` string, uuid — The ID of the product associated with the serial number.
    - `sale_id` string, uuid, nullable — The ID of the sale where this serial number was sold, or null.
    - `version` integer — Auto-incrementing object version number.

---

[API](https://skmtc.net/lightspeedhq/apis/api-2026-07.md) · [All operations](https://skmtc.net/lightspeedhq/apis/api-2026-07/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lightspeedhq/api-2026-07/versions/72d4ceb46dbb/schema)
