Identifier movements

Read-only. Which serials and lots moved on which shipment or receipt. Written by the transaction that moved them, never directly - a movement with no transaction behind it would be a stock record nothing can explain.

Licensed feature

This resource needs all of the inventory and serialnuminnotes features active on the install you are calling. Without that every endpoint here answers 403 with feature_not_licensed - that is a licensing answer, not a permissions one, so check the company's features before the token's scopes.

The object#

FieldTypeDescription
idread-onlyintegerNolaPro id.
itemidentifierdetailidintegerItemidentifierdetailid. Id only.
itemtransactionidread-onlyintegerThe inventory transaction that moved these units. The stock ledger is not exposed. Read-only.
quantityqtystring(6dp)Quantity, 6 decimal places, as a string. Stored as decimal(6dp).
inventorylocationidintegerInventorylocationid. Id only.
trtypeintegerMovement type: 1 = committed to an order, 2 = purchase (PO receipt), 3 = sales/use (shipment), 4 = manual adjustment.
referencetablestring(100)Table of the document that moved the identifier (invreceive, arordershipdetail, rma_arorder_detail_returned, ...).
referenceidintegerReferenceid. Id only.
descriptionstring(100)User-visible note on the movement.
cancelbooleanCancelled. NolaPro cancels rather than deletes, so a cancelled row is still readable.
entrydatestringWhen the record was created.

Endpoints#

GET/itemidentifiertransactions 200403

List identifier movements.

Requires scope items:read.

Parameters
NameInTypeNotes
inventorylocationidquerystringRestrict to one inventorylocationid.
descriptionquerystringdescription. Partial match, case-insensitive.
cancelquerystringDefaults to false. Pass true or any.
includequerystringComma-separated extras to embed. Only custom_fields is available: the extra fields this install has defined on the record. Off by default, and an unrecognised value is refused rather than ignored. See Conventions.
When it fails
StatusCodeMeaning
403insufficient_scopeToken lacks read scope.
curl \
  'https://acme.nolapro.com/!/api/v2/itemidentifiertransactions' \
  -H 'Authorization: Bearer $NP_TOKEN'
GET/itemidentifiertransactions/{id} 200404

Retrieve one record.

Requires scope items:read.

Parameters
NameInTypeNotes
idrequiredpathintegerThe record id.
includequerystringComma-separated extras to embed. Only custom_fields is available: the extra fields this install has defined on the record. Off by default, and an unrecognised value is refused rather than ignored. See Conventions.
When it fails
StatusCodeMeaning
404not_foundNo record with that id.
curl \
  'https://acme.nolapro.com/!/api/v2/itemidentifiertransactions/104' \
  -H 'Authorization: Bearer $NP_TOKEN'
Response 200
{
    "itemidentifierdetailid": 104,
    "quantity": "1.000000",
    "inventorylocationid": 104,
    "trtype": 1,
    "referencetable": "Example referencetable",
    "referenceid": 104
}