Security
OAuth2(Required scopes: FullAccessOrderAdminApprovalRuleReader)
- Production sever for Ordercloudhttps://api.ordercloud.io/v1/approvalrules/{approvalRuleID}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
curl -i -X GET \
'https://api.ordercloud.io/v1/approvalrules/{approvalRuleID}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'ID of the organization who owns the rule. Only the marketplace owner can write a value other than their own organization ID. The value is used to look up the ApprovingGroupID.
Example:""
OrderReturn is the only ApprovalType supported currently.
Enum:"Order""OrderReturn"
Example:"Order"
The expression evaluated to determine an order requires approval. See rules engine documentation for formatting details.
Example:""
Response
{ "OwnerID": "", "ApprovalType": "Order", "ID": "", "Name": "", "Description": "", "ApprovingGroupID": "", "RuleExpression": "", "xp": {} }