Skip to content
AiventicDeveloper Docs
Esc
↑↓navigate↵open⌘Jpreview

Get a part's price

Get a part’s live price and stock from each supplier the team has connected.

Each supplier is asked live under the team’s own account, so a call can take up to the price deadline; suppliers that have not answered by then are left out. incomplete is true when a supplier had not answered by the deadline or failed, so items may be missing; asking again may find them. supplier names the supplier, or is Own stock for the team’s own stock. manufacturer is The manufacturer the supplier lists for the part; null when it lists none. Suppliers are asked by part number alone, so a part of another brand with the same number is told apart only by this. listPrice is its list price, accountPrice the team’s account price with it and quotePrice is What the team would charge for the part under its own pricing rule; null when the team has no rule or the supplier quoted no price. availableQuantity is Units the supplier reports on hand, or the team’s own stock across its locations; null when it gives no number, not zero. supplierPartNumber is Set when the supplier would ship a different number than the one asked for; the prices and stock are then that number’s. This route has its own rate limit per key, beside the others. A / in partNumber is sent as %2F.

Scope: parts:read

GET/v1/brand/{brand}/part/{partNumber}/price
Authorization
AuthorizationBearer token (aiv_sk_) · headerrequired

An Aiventic API key, sent as Authorization: Bearer aiv_sk_....

Path parameters
brandstringrequired
partNumberstringrequired
Responses
200

OK

itemsPublicPartPrice[]required
Show properties
Array of PublicPartPrice
supplierstringrequired
manufacturerstring | nullrequired
supplierPartNumberstring | nullrequired
listPricePublicMoney | nullrequired
Show properties
One of:
null
null
PublicMoney
amountnumber | stringrequired
matches ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
currencystringrequired
accountPricePublicMoney | nullrequired
Show properties
One of:
null
null
PublicMoney
amountnumber | stringrequired
matches ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
currencystringrequired
quotePricePublicMoney | nullrequired
Show properties
One of:
null
null
PublicMoney
amountnumber | stringrequired
matches ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
currencystringrequired
inStockbooleanrequired
availableQuantityinteger | string | nullrequired
matches ^-?(?:0|[1-9]\d*)$
stockAsOfstring<date-time> | nullrequired
shippingPublicPartShipping[]required
Show properties
Array of PublicPartShipping
quantityinteger | string | nullrequired
matches ^-?(?:0|[1-9]\d*)$
etastring | nullrequired
incompletebooleanrequired
400

Bad Request

typestring | null
titlestring | null
statusinteger | string | null
matches ^-?(?:0|[1-9]\d*)$
detailstring | null
instancestring | null
401

Unauthorized

typestring | null
titlestring | null
statusinteger | string | null
matches ^-?(?:0|[1-9]\d*)$
detailstring | null
instancestring | null
403

Forbidden

typestring | null
titlestring | null
statusinteger | string | null
matches ^-?(?:0|[1-9]\d*)$
detailstring | null
instancestring | null
404

Not Found

typestring | null
titlestring | null
statusinteger | string | null
matches ^-?(?:0|[1-9]\d*)$
detailstring | null
instancestring | null
429

Too Many Requests

typestring | null
titlestring | null
statusinteger | string | null
matches ^-?(?:0|[1-9]\d*)$
detailstring | null
instancestring | null
500

Internal Server Error

typestring | null
titlestring | null
statusinteger | string | null
matches ^-?(?:0|[1-9]\d*)$
detailstring | null
instancestring | null
Try it
Server
Authorization
Parameters
Request
curl -X GET 'https://api.aiventic.ai/v1/brand/string/part/string/price' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
Response
{
  "items": [
    {
      "supplier": "string",
      "manufacturer": null,
      "supplierPartNumber": null,
      "listPrice": {},
      "accountPrice": {},
      "quotePrice": {},
      "inStock": true,
      "availableQuantity": null,
      "stockAsOf": null,
      "shipping": [
        {
          "quantity": null,
          "eta": null
        }
      ]
    }
  ],
  "incomplete": true
}