Queries
Object: RequestDetail
RequestDetail represents a single line item (opportunity) on an approval request. It has no top-level query of its own — it is only returned as the opportunities field on Approval Request queries.
Fields
| Field | Type | Description |
|---|---|---|
id | ID! | Unique identifier |
partnumber | String | Part number of the requested product |
quote_quantity | Int | Quantity requested |
requested_price | Float | Price requested by the sales rep |
competitor_name | String | Competitor named as context for the discount |
competitor_product | String | Competitor's equivalent product |
requested_discount | Float | Discount requested |
loa | String | Level of authority reference |
approved_price | Float | Price approved by the reviewer |
approval_level | String | Approval level that reviewed this line item |
approved_discount | Float | Discount approved |
pii_cost | Float | Cost figure (sensitive/PII-flagged) |
pii_margin_requested_price | Float | Margin at requested price (sensitive/PII-flagged) |
pii_margin_approved_price | Float | Margin at approved price (sensitive/PII-flagged) |
tariff_surcharge | Float | Tariff surcharge applied |
review_date | Date | Date this line item was reviewed |
status | String | Line item status |
other_details | JSON | Arbitrary additional data |
product | Product | The linked Product |
Example
{
approvalRequest(id: "01ABC123") {
id
opportunities {
id
partnumber
requested_price
approved_price
status
product {
partnumber
description
list_price
}
}
}
}
Method
Path