Request Information

Returns price list item by Id.

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

Price list item Id

integer

Required

id

Price list item Id

integer

Required

None.

Response Information

PriceListApiModel
NameDescriptionTypeAdditional information
Amount

Sales amount

decimal number

None.

BarCode

Price list item BarCode

string

Length: between 0 and 20 inclusive

Code

Price list item code

string

Length: between 0 and 20 inclusive

CurrencyId

Currency id

integer

None.

DateLastChange

date

Readonly

HasStockMovement

Determines whether the item has stock enabled, not whether it has stock movements

boolean

None.

Id

Resource identifier

integer

Readonly

InitialDateStockBalance

Date of the initial stock movement

date

None.

InitialStockBalance

Initial stock balance

decimal number

None.

Name

Item name

string

Required

Length: between 0 and 200 inclusive

Price

Unit price

decimal number

None.

PriceType

Price type

PriceType

None.

StockBalance

Current stock balance

decimal number

Readonly

Unit

Unit of measure

string

Length: between 0 and 20 inclusive

VatCodeId

Vat code id

integer

None.

VatRateType

Vat rate type

VatRateType

None.

Sample:
{
  "Amount": 1.0,
  "BarCode": "sample string 1",
  "Code": "sample string 2",
  "CurrencyId": 1,
  "DateLastChange": "2021-05-11T10:21:09.400489+00:00",
  "HasStockMovement": true,
  "InitialDateStockBalance": "2021-05-11T10:21:09.400489+00:00",
  "InitialStockBalance": 5.0,
  "Name": "sample string 6",
  "Price": 1.0,
  "PriceType": 0,
  "StockBalance": 7.0,
  "Unit": "sample string 8",
  "VatCodeId": 1,
  "VatRateType": 0,
  "Id": 9
}
Sample:
<PriceListApiModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels">
  <Id xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.BaseModels">9</Id>
  <Links xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.BaseModels">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Links>
  <Amount>1</Amount>
  <BarCode>sample string 1</BarCode>
  <Code>sample string 2</Code>
  <CurrencyId>1</CurrencyId>
  <DateLastChange>2021-05-11T10:21:09.400489+00:00</DateLastChange>
  <HasStockMovement>true</HasStockMovement>
  <InitialDateStockBalance>2021-05-11T10:21:09.400489+00:00</InitialDateStockBalance>
  <InitialStockBalance>5</InitialStockBalance>
  <Name>sample string 6</Name>
  <Price>1</Price>
  <PriceType>0</PriceType>
  <StockBalance>7</StockBalance>
  <Unit>sample string 8</Unit>
  <VatCodeId>1</VatCodeId>
  <VatRateType>0</VatRateType>
</PriceListApiModel>