Skip to content

lookupBuyPrice

WRITE

Async price lookup across ALL suppliers for an item.

POST /api/v1/items/lookupBuyPrice
curl -X POST '<your-host>/api/v1/items/lookupBuyPrice' \
  -H 'Authorization: Bearer <api-key>' \
  -H 'Content-Type: application/json' \
  -d '{
    "itemId": "string",
    "qty": 0,
    "fallbackCost": 0
  }'
Response
0

Parameters

ParameterType

Input schema

schema
{
  "type": "object",
  "properties": {
    "itemId": {
      "type": "string"
    },
    "qty": {
      "type": "number"
    },
    "fallbackCost": {
      "type": "number"
    }
  },
  "required": [
    "itemId",
    "qty",
    "fallbackCost"
  ]
}