Create or update a seller approval rule.
PUT
/approvalrules/{approvalRuleID}
200Description
If an object with the same ID already exists, it will be overwritten.
Parameters
Name | Type | Description | Possible Values | |
---|---|---|---|---|
approvalRuleID | Required | string | ID of the approval rule. | --- |
Request Body
Property | Type | Format | Max Length | Possible Values | ||
---|---|---|---|---|---|---|
OwnerID | string | --- | --- | --- | ||
ApprovalType | Required | string | --- | --- | Order, OrderReturn | |
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 | ||
---|---|---|---|---|---|---|
OwnerID | string | --- | --- | --- | ||
ApprovalType | string | --- | --- | Order, OrderReturn | ||
ID | string | --- | 100 characters | --- | ||
Name | string | --- | 100 characters | --- | ||
Description | string | --- | 2000 characters | --- | ||
ApprovingGroupID | string | --- | --- | --- | ||
RuleExpression | string | --- | 400 characters | --- | ||
xp | object | --- | --- | --- |