Skip to main content

customerApprovalHistory

Requires a customer (portal or buyer app) session.

Partner-wide approval history (all statuses), newest first. Approvers only. screen 14.

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 CustomerApprovalHistory {
customerApprovalHistory {
items {
id
poNumber
requestNumber
resultingOrderNumber
companyName
decidedByName
}
}
}

Response:

{
"data": {
"customerApprovalHistory": {
"items": [
{
"id": "id",
"poNumber": "string",
"requestNumber": "string",
"resultingOrderNumber": "string",
"companyName": "string",
"decidedByName": "string"
}
]
}
}
}
customerApprovalHistory(
pagination: CustomerPaginationInput
): CustomerOrderApprovalConnection!

Arguments​

customerApprovalHistory.pagination ● CustomerPaginationInput input​

Which page to return, and optional search text.

Type​

CustomerOrderApprovalConnection object​

A page of order approval requests.