ItemPrices
Resolve the effective price for an item + account (company tier → base price) on a given date. <br>`asOf` is required, and is a System.DateOnly. It used to be an optional System.DateTime, which made this the one place in the feature where the answer depended on where the question was asked from — twice over. Omitted, the server substituted its own UTC date, so a caller in UTC+3 asking at 01:00 local was answered for the previous day. Supplied with an offset, query-string binding converted it to universal time, so `2026-08-01T00:00:00+03:00` resolved prices as of `2026-07-31T21:00Z` — again the wrong calendar day, and again only east of UTC. A calendar date has no instant to convert, and requiring it leaves the caller as the only party who decides what "today" means.
Changed onget/v1/Items/{itemId}/effective-price
Request
- Base URLhttps://api.invendor.com (the document declares no server; this is the origin it was published from)
- AuthOAuth 2Authorization codehttps://identity.scanbro.com/connect/authorizeToken URLhttps://identity.scanbro.com/connect/tokenScopesio.common
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
itemIdinteger required
Query parameters
priceAccountIdinteger
accountIdinteger
type0 | 1 required
asOfstring date required
quantityinteger
Response
Success
Changes
- info
added the new optional
queryrequest parameterpriceAccountId - info
the
queryrequest parameteraccountIdbecame optional
- info
- info
endpoint added
- info