Home > @vsf-enterprise/sapcc-api > Endpoints > getUserOrderHistory

Endpoints.getUserOrderHistory() method

Get current users order history

Signature:

getUserOrderHistory(context: SapccIntegrationContext, props: GetUserOrderHistoryProps): Promise<OrderHistoryList>;

Parameters

Parameter Type Description
context SapccIntegrationContext An auto-generated value prepended to the method as a first parameter.
props GetUserOrderHistoryProps An object containing necessary props for getting current users order history.

Returns:

Promise<OrderHistoryList>