Retrieves a list of up to 100 draft orders, given the provided paging, filtering, and sorting.
For field support, see supported filters and sorting. To learn how to query draft orders, see API Query Language.
| PROPERTY | SUPPORTED FILTERS & SORTING |
|---|---|
orderId | eq(),ne(),exists(),in(),hasSome(),startsWith(),gt(),lt(),le(),ge() |
_createdDate | eq(),ne(),exists(),in(),hasSome(),lt(),le(),gt(),ge(),ascending(),descending() |
_updatedDate | eq(),ne(),exists(),in(),hasSome(),lt(),le(),gt(),ge(),ascending(),descending() |
status | eq(),ne(),exists(),in(),hasSome(),ascending(),descending() |
This method may require higher-level permissions than the caller has, based on their identity and roles and permissions. In these cases, you can ensure the method is called with the required level of authorization by using one of the following:
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.