ItemLookupRow
error object
- string
- null
Possible values: [service_not_found, item_not_found, upstream_error]
item object
- ProductItem
- null
true when the item is a quantity-mode DTU (e.g. Telegram Stars, TON). The amount value sent in POST /orders and POST /dtu/validation must then be an integer count of units.
falseisLongOrder object
Whether long orders are supported for this item. When true, you may set isLongOrder=true in POST /orders (shop orders only).
- boolean
- null
maxQuantity object
Maximum allowed quantity. Present only when amountIsQuantity=true.
- integer
- null
minQtyToLongOrder object
Minimum quantity for which a long order is allowed. Present only when isLongOrder=true.
- integer
- null
minQuantity object
Minimum allowed quantity. Present only when amountIsQuantity=true.
- integer
- null
name object
- string
- null
stepQuantity object
Allowed step between quantities. Present only when amountIsQuantity=true.
- integer
- null
unitPrice object
Per-unit base price in USD. Present only when amountIsQuantity=true; final price is computed as quantity × unitPrice (plus any tariff markup).
- string
- null
{
"error": "service_not_found",
"found": true,
"item": {
"amountIsQuantity": false,
"currency": "string",
"id": "string",
"inStock": 0,
"isLongOrder": true,
"maxQuantity": 0,
"minQtyToLongOrder": 0,
"minQuantity": 0,
"name": "string",
"price": 0,
"stepQuantity": 0,
"unitPrice": "string"
},
"itemId": "string",
"serviceId": "string"
}