Request Information

Method updates price list item.

Example URL:
v2.0/StockMovements/{id}
NameDescriptionTypeAdditional information
id

Price list item Id

integer

Required

id

Price list item Id

integer

Required

New stock movement properties.

StockMovementApiModelPatch
NameDescriptionTypeAdditional 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
NameDescriptionTypeAdditional 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": "2021-05-06T22:42:49.2042962+00:00",
  "DateLastChange": "2021-05-06T22:42:49.2042962+00:00",
  "DateOfMovement": "2021-05-06T22:42:49.2042962+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>2021-05-06T22:42:49.2042962+00:00</DateCreated>
  <DateLastChange>2021-05-06T22:42:49.2042962+00:00</DateLastChange>
  <DateOfMovement>2021-05-06T22:42:49.2042962+00:00</DateOfMovement>
  <Id>5</Id>
  <Note>sample string 6</Note>
  <PriceListItemId>7</PriceListItemId>
</StockMovementApiModelGet>