Create a new seller approval rule.
POST
/approvalrules
201Description
If ID is provided and an object with that ID already exists, a 409 (conflict) error is returned.
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 | --- | --- | --- |