latestOpenAPI 3.1.02026-08-105812.2 KB

aec0b312e372

Products

Get Product by ID

Returns a single product by its ID

get/products/{id}

Path parameters

idinteger required

Product ID

Response

Successful response

idinteger required

Product ID

type'digital' | 'custom' | 'physical' required

Product type

namestring required

Product name

descriptionstring

Product description

amountinteger required

Product price in smallest currency units (cents for USD/EUR, kopecks for RUB). For physical products this is the starting price, taken from the cheapest variant.

currency'USD' | 'EUR' | 'RUB' required

Currency code

starsAmountinteger

Price in Telegram Stars

starsAmountEnabledboolean

Whether payment with Stars is enabled

status'pending' | 'approved' | 'rejected' required

Product status

isCustomboolean required

Whether this is a custom product

acceptCardsboolean required

Whether card payments are accepted

acceptWalletPayboolean required

Whether wallet payments are accepted

protectContentboolean required

Whether content protection is enabled

createdstring date-time required

Product creation date

updatedstring date-time required

Product last update date

pendingOrdersinteger

Number of pending orders (for custom products)

imageUrlstring uri

Product image URL

linkstring uri required

Direct link to product in Telegram app

webLinkstring uri required

Web link to product