---
title: "Post Barcode"
method: POST
path: "/api/fulfillment/supplies/barcodes"
tags: ["fulfillment-supplies"]
---

# Post Barcode

`POST /api/fulfillment/supplies/barcodes`

## Request

- Base URL: `https://api.pigeonly.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pigeonly.com/api/fulfillment/supplies/barcodes`
- Auth: none declared

Teach Roost that a manufacturer barcode means this item, and how many
of it one scan stands for (Frederick, 2026-10-16: the person picks the
item and says how many the barcode means; it is learned once).

## Request body

- LearnBarcodeRequest
  - `barcode` string, required
  - `item_id` string, uuid, required
  - `quantity_per_scan` union
    - number
    - string

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-17** `48fa5ce06241`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/changes/api/fulfillment/supplies/barcodes/post.md)

---

[API](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os.md) - [All operations](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/llms.txt) - [OpenAPI document](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/revisions/14571c4b7007?raw)
