Mutations
Object: ApprovalLevel
createApprovalLevel
mutation {
createApprovalLevel(input: {
name: "Manager"
code: "MGR"
rank: 2
threshold_price_requested: 10000.00
threshold_price_approved: 8000.00
description: "Manager-level approvals"
}) {
id
name
code
rank
}
}
Required fields: name, code, rank
updateApprovalLevel
mutation {
updateApprovalLevel(id: "01ABC123", input: {
threshold_price_requested: 15000.00
}) {
id
name
threshold_price_requested
}
}
deleteApprovalLevel
Permanently deletes the approval level.
mutation {
deleteApprovalLevel(id: "01ABC123") {
id
name
}
}
Method
Path