For AI agents: markdown of this page — /docs-content-en/entities/quotes/products-get-single.md documentation index — /llms.txt
Get a product from a quote
GET /v1/quotes/:id/products/:rowId
Returns a single product row of a quote by its row ID.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
Parameterid (path) |
Typenumber | Requiredyes | DescriptionQuote ID. List: GET /v1/quotes |
ParameterrowId (path) |
Typenumber | Requiredyes | DescriptionProduct row ID. List: GET /v1/quotes/:id/products, or from the response of POST /v1/quotes/:id/products |
rowId is the product row ID, not the productId from the product catalog.
Examples
curl — personal key
curl -X GET "https://vibecode.bitrix24.com/v1/quotes/741/products/1471" \
-H "X-Api-Key: YOUR_API_KEY"
curl — OAuth application
curl -X GET "https://vibecode.bitrix24.com/v1/quotes/741/products/1471" \
-H "X-Api-Key: YOUR_APP_KEY" \
-H "Authorization: Bearer USER_SESSION_TOKEN"
JavaScript — personal key
const res = await fetch('https://vibecode.bitrix24.com/v1/quotes/741/products/1471', {
headers: {
'X-Api-Key': 'YOUR_API_KEY',
},
})
const { success, data } = await res.json()
console.log('Price:', data.price)
JavaScript — OAuth application
const res = await fetch('https://vibecode.bitrix24.com/v1/quotes/741/products/1471', {
headers: {
'X-Api-Key': 'YOUR_APP_KEY',
'Authorization': 'Bearer USER_SESSION_TOKEN',
},
})
const { success, data } = await res.json()
Response fields
| Field | Type | Description |
|---|---|---|
Fieldsuccess |
Typeboolean | DescriptionAlways true on success |
Fielddata |
Typeobject | DescriptionThe product row |
Fielddata.id |
Typenumber | DescriptionProduct row ID |
Fielddata.productId |
Typenumber | DescriptionCatalog product ID |
Fielddata.productName |
Typestring | DescriptionProduct name |
Fielddata.price |
Typenumber | DescriptionUnit price |
Fielddata.quantity |
Typenumber | DescriptionQuantity |
Fielddata.discount |
Typenumber | DescriptionDiscount amount |
Fielddata.discountRate |
Typenumber | DescriptionDiscount percentage |
Fielddata.discountTypeId |
Typenumber | DescriptionDiscount type (1 — amount, 2 — percentage) |
Fielddata.taxRate |
Typenumber | null | DescriptionTax rate (%) |
Fielddata.taxIncluded |
Typeboolean | DescriptionTax included in price |
Fielddata.priceExclusive |
Typenumber | DescriptionPrice excluding tax, with discount |
Fielddata.priceNetto |
Typenumber | DescriptionNet price |
Fielddata.priceBrutto |
Typenumber | DescriptionGross price |
Fielddata.priceAccount |
Typenumber | DescriptionPrice in the reporting currency |
Fielddata.measureCode |
Typenumber | DescriptionUnit of measure code |
Fielddata.measureName |
Typestring | DescriptionUnit of measure name |
Fielddata.sort |
Typenumber | DescriptionSort order |
Fielddata.ownerId |
Typenumber | DescriptionID of the owner entity the row belongs to |
Fielddata.ownerType |
Typestring | DescriptionRow owner type, Q for a quote |
Fielddata.storeId |
Typenumber | null | DescriptionWarehouse ID. List: GET /v1/warehouses. null when inventory management is off |
Fielddata.customized |
Typestring | DescriptionWhether the row was edited by hand: Y or N |
Fielddata.xmlId |
Typestring | DescriptionExternal code of the row |
Fielddata.type |
Typenumber | DescriptionProduct type |
Response example
{
"success": true,
"data": {
"id": 1471,
"productId": 1,
"productName": "Server equipment",
"price": 5000,
"priceAccount": 5000,
"priceExclusive": 5000,
"priceNetto": 5000,
"priceBrutto": 5000,
"quantity": 3,
"discountTypeId": 2,
"discountRate": 0,
"discount": 0,
"taxRate": null,
"taxIncluded": false,
"customized": "Y",
"measureCode": 796,
"measureName": "pcs",
"sort": 0,
"ownerId": 741,
"ownerType": "Q",
"storeId": 3,
"xmlId": "sale_basket_995",
"type": 1
}
}
Error response example
404 — product row not found:
{
"success": false,
"error": {
"code": "ENTITY_NOT_FOUND",
"message": "Item not found"
}
}
Errors
| HTTP | Code | Description |
|---|---|---|
| HTTP404 | CodeENTITY_NOT_FOUND |
DescriptionNo product row with this rowId |
| HTTP404 | CodeNOT_FOUND |
DescriptionThe call went through, but no product row came back. Message: Product row not found |
| HTTP400 | CodeINVALID_ROW_ID |
DescriptionrowId is not a positive integer |
| HTTP403 | CodeSCOPE_DENIED |
DescriptionAPI key does not have the crm scope |
| HTTP401 | CodeTOKEN_MISSING |
DescriptionAPI key has no configured tokens |
| HTTP429 | CodeRATE_LIMITED |
DescriptionRate limit exceeded: 300 requests per minute per portal, all API keys of the portal share one limit. The exact value arrives in the x-ratelimit-limit header (the cap is divided across replicas). Retry after the delay in the Retry-After header |
Full list of common API errors — Errors.