Home > @vsf-enterprise/sap-commerce-webservices-sdk > OrdersApi
OrdersApi class
OrdersApi - object-oriented interface OrdersApi {BaseAPI}
Signature:
export declare class OrdersApi extends BaseAPI
Extends: BaseAPI
Methods
Method | Modifiers | Description |
---|---|---|
countUserOrders(baseSiteId, userId, statuses, options) | In the response header, the "x-total-count" indicates the total number of orders placed by a specified user for a specified base store. Get total number of orders. | |
getOrder(baseSiteId, code, fields, options) | Returns details of a specific order based on the order GUID (Globally Unique Identifier) or the order CODE. The response contains detailed order information. Get a order. | |
getUserOrderHistory(baseSiteId, userId, currentPage, fields, pageSize, sort, statuses, options) | Returns order history data for all orders placed by a specified user for a specified base store. The response can display the results across multiple pages, if required. Get order history for user. | |
getUserOrders(baseSiteId, code, userId, fields, options) | Returns specific order details based on a specific order code. The response contains detailed order information. Get a order. | |
placeOrder(baseSiteId, cartId, userId, fields, options) | Authorizes the cart and places the order. The response contains the new order data. Place a order. |