Request Information
Method updates price list item.
Example URL:
v2.0/StockMovements/{id}
Name | Description | Type | Additional information |
---|---|---|---|
id |
Price list item Id |
integer |
Required |
id |
Price list item Id |
integer |
Required |
New stock movement properties.
StockMovementApiModelPatchName | Description | Type | Additional information |
---|---|---|---|
Note |
Your note for this stock movement |
string |
Length: between 0 and 100 inclusive |
Sample:
{ "Note": "sample string 1" }
Sample:
<StockMovementApiModelPatch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.StockMovement"> <Note>sample string 1</Note> </StockMovementApiModelPatch>
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": "2024-11-02T05:00:47.6557897+00:00", "DateLastChange": "2024-11-02T05:00:47.6557897+00:00", "DateOfMovement": "2024-11-02T05:00:47.6557897+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>2024-11-02T05:00:47.6557897+00:00</DateCreated> <DateLastChange>2024-11-02T05:00:47.6557897+00:00</DateLastChange> <DateOfMovement>2024-11-02T05:00:47.6557897+00:00</DateOfMovement> <Id>5</Id> <Note>sample string 6</Note> <PriceListItemId>7</PriceListItemId> </StockMovementApiModelGet>