Home > @vsf-enterprise/sap-commerce-webservices-sdk > OrdersApiFp

OrdersApiFp variable

OrdersApi - functional programming interface

Signature:

OrdersApiFp: (configuration?: Configuration) => {
    countUserOrders(baseSiteId: string, userId: string, statuses?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
    getOrder(baseSiteId: string, code: string, fields?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>>;
    getUserOrderHistory(baseSiteId: string, userId: string, currentPage?: number, fields?: string, pageSize?: number, sort?: string, statuses?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderHistoryList>>;
    getUserOrders(baseSiteId: string, code: string, userId: string, fields?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>>;
    placeOrder(baseSiteId: string, cartId: string, userId: string, fields?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>>;
}