Request Information
Returns price list item by Id.
Example URL:
v2.0/PriceListItems/{id}
Name | Description | Type | Additional information |
---|---|---|---|
id |
Price list item Id |
integer |
Required |
id |
Price list item Id |
integer |
Required |
None.
Response Information
PriceListApiModel
Name | Description | Type | Additional 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 |
Note |
Note for stock movement |
string |
Length: between 0 and 100 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": "2024-11-19T10:08:53.814913+00:00", "HasStockMovement": true, "InitialDateStockBalance": "2024-11-19T10:08:53.814913+00:00", "InitialStockBalance": 5.0, "Name": "sample string 6", "Note": "sample string 7", "Price": 1.0, "PriceType": 0, "StockBalance": 8.0, "Unit": "sample string 9", "VatCodeId": 1, "VatRateType": 0, "Id": 10 }
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">10</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>2024-11-19T10:08:53.814913+00:00</DateLastChange> <HasStockMovement>true</HasStockMovement> <InitialDateStockBalance>2024-11-19T10:08:53.814913+00:00</InitialDateStockBalance> <InitialStockBalance>5</InitialStockBalance> <Name>sample string 6</Name> <Note>sample string 7</Note> <Price>1</Price> <PriceType>0</PriceType> <StockBalance>8</StockBalance> <Unit>sample string 9</Unit> <VatCodeId>1</VatCodeId> <VatRateType>0</VatRateType> </PriceListApiModel>