Sitecore OrderCloud Documentation

docs

Portal Login

Create or update a seller approval rule.

PUT

/approvalrules/{approvalRuleID}

200

Description

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.

FullAccessOrderAdmin

Parameters

NameTypeDescriptionPossible Values
approvalRuleIDRequiredstringID of the approval rule.---

Request Body

PropertyTypeFormatMax LengthPossible Values
OwnerIDstring---------

ApprovalTypeRequiredstring------Order, OrderReturn

IDstring---100 characters---
Namestring---100 characters---
Descriptionstring---2000 characters---
ApprovingGroupIDRequiredstring---------
RuleExpressionRequiredstring---400 characters---

xpobject---------

Response Body

PropertyTypeFormatMax LengthPossible Values
OwnerIDstring---------

ApprovalTypestring------Order, OrderReturn

IDstring---100 characters---
Namestring---100 characters---
Descriptionstring---2000 characters---
ApprovingGroupIDstring---------
RuleExpressionstring---400 characters---

xpobject---------

Create or update a seller approval rule.

PUT

/approvalrules/{approvalRuleID}

200

Description

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.

FullAccessOrderAdmin

Parameters

NameTypeDescriptionPossible Values
approvalRuleIDRequiredstringID of the approval rule.---

Request Body

PropertyTypeFormatMax LengthPossible Values
OwnerIDstring---------

ApprovalTypeRequiredstring------Order, OrderReturn

IDstring---100 characters---
Namestring---100 characters---
Descriptionstring---2000 characters---
ApprovingGroupIDRequiredstring---------
RuleExpressionRequiredstring---400 characters---

xpobject---------

Response Body

PropertyTypeFormatMax LengthPossible Values
OwnerIDstring---------

ApprovalTypestring------Order, OrderReturn

IDstring---100 characters---
Namestring---100 characters---
Descriptionstring---2000 characters---
ApprovingGroupIDstring---------
RuleExpressionstring---400 characters---

xpobject---------
Sitecore Logo

© Copyright 2024, Sitecore OrderCloud®. All rights reserved.

Contact Us
Privacy Policy
Sitecore