Path parameters
version string Required Defaults to 1
version
Request This endpoint expects an object.
source_type enum Required
The object type of this approval policy.
Allowed values: QUOTE_VERSION INVOICE
reference string Required format: "^\S+$"0-256 characters
The human-readable reference to this approval policy.
name string Required
The name of this approval policy.
approval_type enum Required
The type of approval process which needs to be followed if this approval policy is invoked.
Allowed values: GROUP LEVEL
approvers object Required
The type of approve level and users who are allowed to approve/decline the approval review.
rule_groups list of objects Required
The groups of rules that are applicable for this approval policy. These will be chained using OR.
status enum or null Optional
The current status of the approval policy.
Allowed values: DRAFT ACTIVE DEPRECATED ARCHIVED
Response Created
object_type string or null Read-only
id string or null Read-only
source_type enum
The object type of this approval policy.
Allowed values: QUOTE_VERSION INVOICE
reference string format: "^\S+$"0-256 characters
The human-readable reference to this approval policy.
name string
The name of this approval policy.
status enum or null
The current status of the approval policy.
Allowed values: DRAFT ACTIVE DEPRECATED ARCHIVED
approval_type enum
The type of approval process which needs to be followed if this approval policy is invoked.
Allowed values: GROUP LEVEL
created_at string or null Read-only
When the approval policy was created.
update_at string or null Read-only
When the approval policy was updated last.
approvers object
The type of approve level and users who are allowed to approve/decline the approval review.
rule_groups list of objects
The groups of rules that are applicable for this approval policy. These will be chained using OR.