Skip to main content
POST
/
api
/
inventories
/
manual
/
create
Create manual inventory (bulk)
curl --request POST \
  --url https://app.buylo.ai/api/inventories/manual/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "location_id": "1",
  "epc_ids": [
    "BNOYQ",
    "NDXDU",
    "6XVKJ",
    "FHT1K",
    "8YMQ1"
  ]
}
'
{
  "success": true,
  "created_count": 5,
  "details": [
    {
      "epc_id": "BNOYQ",
      "status": "created",
      "message": "Inventory item created"
    },
    {
      "epc_id": "NDXDU",
      "status": "created",
      "message": "Inventory item created"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
location_id
string
required

Identifier of the location where inventory is created.

Example:

"1"

epc_ids
string[]
required

Array of EPC identifiers to include in the manual inventory.

Minimum array length: 1

Response

OK

success
boolean
created_count
integer

Number of inventory items created

details
object[]