Home > @vsf-enterprise/epcc-api > OrderEndpoints > getOrders

# OrderEndpoints.getOrders() method

Returns a list of orders with custom flow fields.

Signature:

getOrders(context: ElasticPathIntegrationContext, params?: GetOrdersParams): Promise<OrdersResponse>;

# Parameters

Parameter Type Description
context ElasticPathIntegrationContext An auto-generated value prepended to the method as a first parameter.
params GetOrdersParams Optional filter parameters can be passed in.

Returns:

Promise<OrdersResponse>