Home > @vsf-enterprise/sap-commerce-webservices-sdk > OrdersApiFactory
OrdersApiFactory variable
OrdersApi - factory interface
Signature:
OrdersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
countUserOrders(baseSiteId: string, userId: string, statuses?: string, options?: any): AxiosPromise<void>;
getOrder(baseSiteId: string, code: string, fields?: string, options?: any): AxiosPromise<Order>;
getUserOrderHistory(baseSiteId: string, userId: string, currentPage?: number, fields?: string, pageSize?: number, sort?: string, statuses?: string, options?: any): AxiosPromise<OrderHistoryList>;
getUserOrders(baseSiteId: string, code: string, userId: string, fields?: string, options?: any): AxiosPromise<Order>;
placeOrder(baseSiteId: string, cartId: string, userId: string, fields?: string, options?: any): AxiosPromise<Order>;
}