Retrieves a list of up to 50 pricing plan orders and details, given the specified sorting and filtering.
By default, this endpoint will retrieve all orders and return them sorted by createdDate
in DESC
, descending order.
sort.fieldName
supports endDate
and createdDate
fields and defaults to ASC
, ascending order.
function managementListOrders(
options: ManagementListOrdersOptions,
): Promise<ListOrdersResponse>;
Filtering, sorting, and pagination options.
import { orders } from "@wix/pricing-plans";
async function managementListOrders(options) {
const response = await orders.managementListOrders(options);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.