pricebook.priceHistory

The dated prices saved for one price book item, newest effective date first (owner or office, needs see_prices). cost_minor is null when you cannot see costs. The current price is the latest row on or before today.

WhoAgents can call this
RESTGET /v1/pricebook/prices/history
MCP toolpricebook_priceHistory
Writesno
AreaQuotes (unlimited)

When to use it

The dated prices saved for one price book item, newest effective date first (owner or office, needs see_prices). cost_minor is null when you cannot see costs.

What to tell the owner

Tell them what you found in plain words. Don't read back raw fields.

Input

FieldTypeRequired
item_idstring (uuid)yes

Example

GET https://doingwork.work/v1/pricebook/prices/history?item_id=00000000-0000-4000-8000-000000000000

Output

FieldTypeAlways there
item_idstring (uuid)yes
namestringyes
sku['string', 'null']yes
todaystring (date)yes
current['object', 'null']yes
historyarrayyes
history[].effective_datestring (date)yes
history[].price_minorintegeryes
history[].cost_minor['integer', 'null']yes
history[].sourcestringyes
history[].imported_by['string', 'null', ' ', '(', 'u', 'u', 'i', 'd', ')']yes
history[].created_atstring (date-time)yes
history[].currentbooleanyes
history[].futurebooleanyes
{
  "item_id": "00000000-0000-4000-8000-000000000000",
  "name": "Ruiz Plumbing",
  "sku": "...",
  "today": "...",
  "current": "...",
  "history": [
    {
      "effective_date": "...",
      "price_minor": 50000,
      "cost_minor": "...",
      "source": "...",
      "imported_by": "00000000-0000-4000-8000-000000000000",
      "created_at": "...",
      "current": true,
      "future": true
    }
  ]
}

Errors

CodeStatusWhat to do
invalid_input, invalid_token, rate_limitedCan happen on any call. See errors.