Inventory Increases
GET /inventory/inventory-increases
Group: Inventory › Inventory Increases · Operation ID: inventoryIncreases
Returns a list of inventory increases. Each row is a header with lineCount. To get the lines, or to filter by item or date, use POST inventory/inventory-increases/search.
Returns the inventory increase collection. It returns headers only, without the lines. GET inventory/inventory-increases/:id and POST inventory/inventory-increases/search return the lines, and search takes the same filters, so listing documents with their lines means searching. lineCount stands in for the rows, saying whether a document is one correction or forty. Filtering by item is not possible here, because items are on the lines. POST inventory/inventory-increases/search takes itemId and answers it.
Open in the interactive reference
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
Api-Version |
header | "v1" |
yes | The API version this request targets, named by its public identifier. Required on every request; omitting it, or naming a version this company does not have, is answered with 400. This document describes version v1. |
Query surface
id— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likedocumentNumber— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likedocumentStatus— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likedocumentDate— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likeentityId— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likelocationId— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likelocationCode— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likereasonCodeId— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likereasonCode— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likelastModifiedDate— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, like- Orderable: id, documentNumber, documentDate, documentStatus, createdDate, lastModifiedDate
- Selectable: id, documentNumber, documentStatus, documentDate, entityId, entityName, locationId, locationCode, locationName, reasonCodeId, reasonCode, reasonCodeDescription, currency, lineCount, notes, createdDate, lastModifiedDate
Response
200 Success
Under data, an array of inventoryIncreasesRow:
| Field | Type | Required | Description |
|---|---|---|---|
id |
string | no | The unique identifier for the inventory increase. |
documentNumber |
string or null | no | The inventory increase's document number, for example 'INC-42'. Absent while none has been assigned. |
documentStatus |
string | no | The status of the inventory increase. Possible values: 'DRAFT', 'COMMITTED', 'CANCELLED'. |
documentDate |
string (date) | no | The date the inventory increase is dated. It sets the posting period. Format YYYY-MM-DD. |
entityId |
string | no | The unique identifier for the legal entity. See id on GET base/entities. |
entityName |
string or null | no | The display name of that legal entity. |
locationId |
string or null | no | The unique identifier for the warehouse the stock is added to. See id on GET inventory/warehouses/:id. |
locationCode |
string or null | no | The short code of that warehouse. |
locationName |
string or null | no | The display name of that warehouse. |
reasonCodeId |
string or null | no | The unique identifier for the reason code. See id on GET inventory/reason-codes/:id. |
reasonCode |
string or null | no | The short code of that reason code. |
reasonCodeDescription |
string or null | no | The description of that reason code. |
currency |
string or null | no | The currency the inventory increase is valued in. Format ISO 4217, for example 'EUR'. |
lineCount |
number or null | no | The number of lines the inventory increase has. The collection does not return the lines themselves. |
notes |
string or null | no | Free text on the inventory increase. |
createdDate |
string (date-time) or null | no | The date and time the inventory increase was created, in UTC. Format YYYY-MM-DDTHH:mm:ss.sssZ. |
lastModifiedDate |
string (date-time) or null | no | The date and time the inventory increase record last changed, in UTC. Format YYYY-MM-DDTHH:mm:ss.sssZ. |
Statuses
400— Invalid request or business failure401— Missing or invalid access token403— Not authorized404— Not found429— Too many requests500— Internal server error