Home > @vsf-enterprise/sap-commerce-webservices-sdk > OrdersApi > getOrder
OrdersApi.getOrder() method
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.
Signature:
getOrder(baseSiteId: string, code: string, fields?: string, options?: any): Promise<import("axios").AxiosResponse<Order>>;
Parameters
Parameter | Type | Description |
---|---|---|
baseSiteId | string | Base site identifier |
code | string | Order GUID (Globally Unique Identifier) or order CODE |
fields | string | Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
options | any | Override http request option. |
Returns:
Promise<import("axios").AxiosResponse<Order>>
Exceptions
{RequiredError} OrdersApi