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
| Field | Type | Required | Description |
|---|
| offeringId | uuid | Required | |
Response
Type: GetProviderOfferingPriceHistoryResponse[]
GetProviderOfferingPriceHistoryResponse
| Field | Type | Description |
|---|
| variant | GetProviderOfferingPriceHistoryResponseVariantRef | |
| amountsHidden | boolean | |
| units | GetProviderOfferingPriceHistoryResponseUnitStats[]| null | |
| records | GetProviderOfferingPriceHistoryResponseRecord[]| null | |
GetProviderOfferingPriceHistoryResponseVariantRef
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
| isArchived | boolean | |
GetProviderOfferingPriceHistoryResponseUnitStats
| Field | Type | Description |
|---|
| unit | string| null | |
| lastPaid | number| null | |
| average | number| null | |
| min | number| null | |
| max | number| null | |
| count | integer | |
GetProviderOfferingPriceHistoryResponseRecord
| Field | Type | Description |
|---|
| id | uuid | |
| source | string| null | |
| order | GetProviderOfferingPriceHistoryResponseOrderRef | |
| orderDocumentId | uuid | |
| unit | string| null | |
| unitPrice | number| null | |
| recordedAt | date-time | |
| countsInStats | boolean | |
GetProviderOfferingPriceHistoryResponseOrderRef
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |