Docs

Get Provider Offering Price History

GET /provider-offerings/{offeringId}/price-history

GET/provider-offerings/{offeringId}/price-history

Lists what the org paid for this offering on org orders, one item per variant bought: per unit the last paid, average, lowest and highest unit price, then each record (date, Quote or FinalInvoice, order, unit, unit price). Prices are null without the Order Amounts field; orders the caller can't open show no name. Nothing here changes a rate card: set rates by hand with the offering's rate-card routes. offeringId from Resources_GetProviderOfferings. Needs the resource inventory read permission.

Path Parameters

FieldTypeRequiredDescription
offeringIduuidRequired

Response

Type: GetProviderOfferingPriceHistoryResponse[]

GetProviderOfferingPriceHistoryResponse

FieldTypeDescription
variantGetProviderOfferingPriceHistoryResponseVariantRef
amountsHiddenboolean
unitsGetProviderOfferingPriceHistoryResponseUnitStats[]| null
recordsGetProviderOfferingPriceHistoryResponseRecord[]| null

GetProviderOfferingPriceHistoryResponseVariantRef

FieldTypeDescription
iduuid
namestring| null
isArchivedboolean

GetProviderOfferingPriceHistoryResponseUnitStats

FieldTypeDescription
unitstring| null
lastPaidnumber| null
averagenumber| null
minnumber| null
maxnumber| null
countinteger

GetProviderOfferingPriceHistoryResponseRecord

FieldTypeDescription
iduuid
sourcestring| null
orderGetProviderOfferingPriceHistoryResponseOrderRef
orderDocumentIduuid
unitstring| null
unitPricenumber| null
recordedAtdate-time
countsInStatsboolean

GetProviderOfferingPriceHistoryResponseOrderRef

FieldTypeDescription
iduuid
namestring| null