Create or update an approval rule.
PUT
/buyers/{buyerID}/approvalrules/{approvalRuleID}
200Description
If an object with the same ID already exists, it will be overwritten.
Roles
At least one of the roles below is required to access this endpoint.
FullAccessApprovalRuleAdmin
Parameters
Name | Type | Description | Possible Values | |
---|---|---|---|---|
buyerID | Required | string | ID of the buyer. | --- |
approvalRuleID | Required | string | ID of the approval rule. | --- |
Request Body
Property | Type | Format | Max Length | Possible Values | ||
---|---|---|---|---|---|---|
ID | string | --- | 100 characters | --- | ||
Name | string | --- | 100 characters | --- | ||
Description | string | --- | 2000 characters | --- | ||
ApprovingGroupID | Required | string | --- | --- | --- | |
RuleExpression | Required | string | --- | 400 characters | --- | |
xp | object | --- | --- | --- |
Response Body
Property | Type | Format | Max Length | Possible Values | ||
---|---|---|---|---|---|---|
ID | string | --- | 100 characters | --- | ||
Name | string | --- | 100 characters | --- | ||
Description | string | --- | 2000 characters | --- | ||
ApprovingGroupID | string | --- | --- | --- | ||
RuleExpression | string | --- | 400 characters | --- | ||
xp | object | --- | --- | --- |