approvalPolicies

Update an invoice approval policy

Partially updates an existing invoice approval policy. Supports changing approvers, conditions, thresholds, and enablement without recreating the policy. applicable_type cannot be changed after creation.

patch/approval-policies/{id}

Path parameters

idstring required

Policy ID

Headers

Authorizationstring required

OAuth2 authentication flows. Auth server URLs will vary by environment

X-Api-Keystring required

API key for authentication

X-API-Versionstring

API version to use (optional, defaults to latest). Supported values: 1.0.0, 1.1.0.

Request body

namestring

Policy display name

min_users_for_approvalinteger

Minimum approvers required

is_enabledboolean

Enable or disable the policy

user_approversApprovalPoliciesIdPatchRequestBodyContentApplicationJsonSchemaUserApproversItems[]

Replace user approver list

role_approversApprovalPoliciesIdPatchRequestBodyContentApplicationJsonSchemaRoleApproversItems[]

Replace role approver list

conditionsApprovalPoliciesIdPatchRequestBodyContentApplicationJsonSchemaConditionsItems[]

Replace condition list

use_buyer_approverboolean

Buyer-as-approver flag

ottimate_location_idinteger

Change owner scope to location

ottimate_company_idinteger

Change owner scope to company

Response

Policy updated

ApprovalPoliciesPatchApprovalPoliciesIdResponse200 required

Empty response body

Changes