Electronic Component API Wiki
Search electronic components, datasheets, stock, price, alternatives
Brought to you by:
ciiva
Query the real-time or latest price breaks of a supplier component by ID.
If UseRealTime is true, Ciiva’s real-time service will be used to fetch the price breaks on-the-fly. Otherwise the latest price breaks in our cloud server will be returned.
Note that under some circumstances the real-time service may not be available, in which case the latest price breaks will be returned, indicated by the IsRealTime flag.
GetPriceForSupplierComponentById
Name | Description |
---|---|
Address | https://api.ciiva.com/api/D65797C8-DCAA-466F-8377-0ED6730533D4 |
Accept methods | GET, POST |
Example:
Parameters: {"3289", "True"} Return: { "SupplierComponentId":3289, "IsRealtime":true, "PriceItems": [{"MinQuantity":1,"UnitPrice":2.13000,"CurrencyName":"USD","LocationName":"US"}, {"MinQuantity":10,"UnitPrice":1.91300,"CurrencyName":"USD","LocationName":"US"}, {"MinQuantity":50,"UnitPrice":1.70000,"CurrencyName":"USD","LocationName":"US"}, {"MinQuantity":100,"UnitPrice":1.48750,"CurrencyName":"USD","LocationName":"US"}, {"MinQuantity":250,"UnitPrice":1.36000,"CurrencyName":"USD","LocationName":"US"}, {"MinQuantity":500,"UnitPrice":1.27500,"CurrencyName":"USD","LocationName":"US"}, {"MinQuantity":1000,"UnitPrice":1.16875,"CurrencyName":"USD","LocationName":"US"}, {"MinQuantity":2500,"UnitPrice":1.08375,"CurrencyName":"USD","LocationName":"US"}, {"MinQuantity":5000,"UnitPrice":1.06250,"CurrencyName":"USD","LocationName":"US"} ] }
Object Name: GetPriceForSupplierComponentById
Property Name | Property Type | Description | Example |
---|---|---|---|
SupplierComponentId | Int64 | Supplier component id | |
UseRealTime | Boolean | A flag that determines if it real time data is returned |
Object Name: CurrentPrice
Property Name | Property Type | Description | Example |
---|---|---|---|
SupplierComponentId | Int64 | Description | |
ManufacturerComponentId | Int64 | Ciiva Id of supplier component to retrieve price. | |
IsRealtime | Boolean | These are realtime prices. | |
PriceBreaks | List of: CurrentPriceBreak | List of price breaks. |
Object Name: CurrentPriceBreak
Property Name | Property Type |
---|---|
MinQuantity | Int32 |
UnitPrice | Decimal |
CurrencyName | String |
LocationName | String |