You are reading the documentation for v7.x and earlier, which is no longer the latest version. Switch to v8.x
OrderApprovalDecision
The order approval decision. The approval decision field is mandatory, and the approval comment field is mandatory if the decision is 'rejected'. OrderApprovalDecision
export interface OrderApprovalDecision {
'comment'?: string;
'decision': string;
}Properties
| Name | Required | Type | Description |
|---|---|---|---|
comment | Optional | string | Any comments the approver (or the workflow system) adds when approving/rejecting an order. {string} OrderApprovalDecision |
decision | Required | string | Decision from the approver when approving/rejecting an order. Typical decisions are: APPROVE, REJECT {string} OrderApprovalDecision |