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

# OrderEndpoints.getOrderItems() method

Returns the items of an order.

Signature:

getOrderItems(context: ElasticPathIntegrationContext, params: {
        orderId: string;
    }): Promise<OrderItem[]>;

# Parameters

Parameter Type Description
context ElasticPathIntegrationContext An auto-generated value prepended to the method as a first parameter.
params { orderId: string; } The ID of the order can be passed in.

Returns:

Promise<OrderItem[]>