Skip to main content

customerMyApprovalRequests

Requires a customer (portal or buyer app) session.

The CALLER'S OWN parked checkout requests — pending, plus recently declined so a rejection is never silent. Not approver-gated (scoped to requestedById), because this is what tells a buyer where their held order went; approved requests are omitted since they have become real orders the order list already shows.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

query CustomerMyApprovalRequests {
customerMyApprovalRequests {
id
poNumber
requestNumber
resultingOrderNumber
companyName
decidedByName
lines {
uomCode
productName
uomName
variantName
baseUnitPrice
discountAmount
}
}
}

Response:

{
"data": {
"customerMyApprovalRequests": [
{
"id": "id",
"poNumber": "string",
"requestNumber": "string",
"resultingOrderNumber": "string",
"companyName": "string",
"decidedByName": "string",
"lines": [
{
"uomCode": "string",
"productName": "string",
"uomName": "string",
"variantName": "string",
"baseUnitPrice": 0,
"discountAmount": 0
}
]
}
]
}
}
customerMyApprovalRequests: [CustomerOrderApprovalView!]!

Type​

CustomerOrderApprovalView object​

screen 14: an over-limit portal checkout parked for approval. No order exists until an approver says yes; approval replays the snapshot through the canonical checkout path with a fresh reprice.