Create one or more individually identified stock units
The API runs on your application instance. Schemas and field names come directly from the OpenAPI specification. Session-authenticated requests require a session on that instance.
bearerAuthAuthorizationBearer <inv_ token>id*stringuuidX-Organization-ID?stringOrganization membership selected for this request. User-bound credentials may select any active membership; standalone tokens may only repeat their pinned organization ID.
uuidapplication/json- body
count?integer1 <= value <= 1001code?stringlength <= 180codes?array<>items <= 100location?|length <= 240locationResourceId?|uuidmetadata?customFields?Values keyed by stable custom-field definition keys. Types and required values are checked against active definitions applicable to the resource.
properties <= 100acquiredAt?stringdate-timetotalPriceCents?|0 <= value <= 2000000000priceCurrency?|3 <= length <= 3Units created with audit entries
curl -X POST 'https://inventory.example.com/api/v1/resources/497f6eca-6276-4993-bfeb-53cbbbba6f08/stock/units' \ -H 'Content-Type: application/json' \ -d '{}'List individually identified stock units GET
Previous Page
Delete an unlinked serialized unit while retaining movement history DELETE
Requires stock.manage. Atomically deletes the unit, records a unit-deleted audit entry with its code and UUID, and reduces available stock and its cost layers by one only when the unit was available. Existing QR links will no longer select this unit. Units linked to orders, assignments, or assemblies (including historical links and assembly outputs) cannot be deleted.