PriceInfo
Type, Introduced in version 2.18
Represents price information.
Returned from the GetPriceInfo command.
Properties
Name | Type | Summary | Introduced in |
---|---|---|---|
UnitPrice | Decimal | The calculated unit price. |
|
UnitPriceCurrencyId | Int64 | The currency of the calculated unit price. |
|
SuggestedPrice | Decimal? | The calculated suggested price. |
|
SuggestedPriceCurrencyId | Int64? | The currency of the calculated suggested price. |
|
PriceComment | String | The comment of the calculated price. |
|
StaggeredPrices | StaggeredPrice[] | The resulting staggered prices of the calculation. |
|
PriceListId | Int64? | The business key identifier of the price list that the calculated price was based on. References PriceLists |
|
PriceOrigin | Int32 | The origin of the calculated price.
|
|
ValidThrough | DateTimeOffset? | The valid through date of the calculated price. |
|
Discount | Decimal? | The discount that goes along with the calculated price. |
|
PartId | Int64 | The business key identifier of the part that the price information applies to. References Parts |
Introduced in version 2.41 |
TotalPrice | Decimal | Total price in suggested price currency for the requested quantity including setup price, discount and staggered prices. |
Introduced in version 24.3 |
RequestedStandardUnitQuantity | Decimal | The quantity in standard unit from the request used to calculate TotalPrice. |
Introduced in version 24.3 |
SetupPrice | Decimal | The calculated setup price. |
Introduced in version 24.3 |
Example
{
"UnitPrice": 0.0,
"UnitPriceCurrencyId": 0,
"SuggestedPrice": null,
"SuggestedPriceCurrencyId": null,
"PriceComment": null,
"StaggeredPrices": null,
"PriceListId": null,
"PriceOrigin": 0,
"ValidThrough": null,
"Discount": null,
"PartId": 0,
"TotalPrice": 0.0,
"RequestedStandardUnitQuantity": 0.0,
"SetupPrice": 0.0
}