Request Information
Creates a new stock movement. To decrease stock balance, use a negative amount. In case the pricelist item is not marked as a stock item, it will be updated to a stock item.
Example URL:
v2.0/StockMovements
None.
Stock movement model.
StockMovementApiModelPost| Name | Description | Type | Additional information |
|---|---|---|---|
| Amount |
Current stock balance |
decimal number |
None. |
| DateOfMovement |
Date of stock movement |
date |
None. |
| Note |
Your note for this stock movement |
string |
Length: between 0 and 100 inclusive |
| PriceListItemId |
Pricelist item reference |
integer |
Range: between 1 and 2147483647, including |
Sample:
{
"PriceListItemId": 1,
"Amount": 2.0,
"Note": "sample string 3",
"DateOfMovement": "2025-11-06T07:13:11.377012+00:00"
}
Sample:
<StockMovementApiModelPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.StockMovement"> <Amount>2</Amount> <DateOfMovement>2025-11-06T07:13:11.377012+00:00</DateOfMovement> <Note>sample string 3</Note> <PriceListItemId>1</PriceListItemId> </StockMovementApiModelPost>
Response Information
StockMovementApiModelGet
| Name | Description | Type | Additional information |
|---|---|---|---|
| Amount |
Current stock balance |
decimal number |
None. |
| DateCreated |
Date the entity was created |
date |
None. |
| DateLastChange |
Date the entity was last changed |
date |
None. |
| DateOfMovement |
Date of stock movement |
date |
None. |
| Id |
Resource identifier |
integer |
None. |
| Note |
Your note for this stock movement |
string |
None. |
| PriceListItemId |
Pricelist item reference |
integer |
None. |
Sample:
{
"Amount": 1.0,
"DateCreated": "2025-11-06T07:13:11.377012+00:00",
"DateLastChange": "2025-11-06T07:13:11.377012+00:00",
"DateOfMovement": "2025-11-06T07:13:11.377012+00:00",
"Id": 5,
"Note": "sample string 6",
"PriceListItemId": 7
}
Sample:
<StockMovementApiModelGet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.StockMovement"> <Amount>1</Amount> <DateCreated>2025-11-06T07:13:11.377012+00:00</DateCreated> <DateLastChange>2025-11-06T07:13:11.377012+00:00</DateLastChange> <DateOfMovement>2025-11-06T07:13:11.377012+00:00</DateOfMovement> <Id>5</Id> <Note>sample string 6</Note> <PriceListItemId>7</PriceListItemId> </StockMovementApiModelGet>