Sitecore Ordercloud

Get a list of order eligible approvers

GET
/orders/{direction}/{orderID}/eligibleapprovers

Description

Returns all Users who can approve or decline this order (but have not done so).

Roles

At least one of the roles below is required to access this endpoint

FullAccess
OrderAdmin
Shopper
OrderReader

Parameters

NameTypeDescriptionPossible Values
directionstringDirection of the order, from the current user's perspective. Possible values: incoming, outgoing, all.Incoming, Outgoing, All
orderIDstringID of the order.---
searchstringWord or phrase to search for.---
searchOnarrayComma-delimited list of fields to search on.ID, Username, LastName, FirstName, Email
sortByarrayComma-delimited list of fields to sort by.LastName, FirstName, Username, ID, Email, DateCreated, PasswordLastSetDate, !LastName, !FirstName, !Username, !ID, !Email, !DateCreated, !PasswordLastSetDate
pageintegerPage of results to return. Default: 1. When paginating through many items (> page 30), we recommend the "Last ID" method, as outlined in the Advanced Querying documentation.---
pageSizeintegerNumber of results to return per page. Default: 20, max: 100.---
filtersobjectAn object or dictionary representing key/value pairs to apply as filters. Valid keys are top-level properties of the returned model or 'xp.???'---

Response Body

PropertyTypeFormatMax LengthPossible Values
Itemsarray---------
PropertyTypeFormatMax LengthPossible Values
IDstring---100 characters---
CompanyID
Read Only
string---------
Usernamestring---100 characters---

Passwordstringpassword------
FirstNamestring---100 characters---
LastNamestring---100 characters---
Emailstring---200 characters---
Phonestring---100 characters---
TermsAcceptedstringdate-time------
Activeboolean---------

xpobject---------
AvailableRoles
Read Only
array---------

Locale
Read Only
object---------

PropertyTypeFormatMax LengthPossible Values
ID
Read Only
string---100 characters---
OwnerID
Read Only
string---------

Currency
Read Only
string---100 characters---

Language
Read Only
string---100 characters---

DateCreated
Read Only
stringdate-time------
PasswordLastSetDate
Read Only
stringdate-time------

Metaobject---------
PropertyTypeFormatMax LengthPossible Values
Pageintegerint32------
PageSizeintegerint32------
TotalCountintegerint32------
TotalPagesintegerint32------
ItemRangearray---------
NextPageKeystring---------