Appearance
getOrderDetails ​
Definition ​
Get order details
Signature ​
ts
export async function getOrderDetails(
  orderId: string,
  params?: ShopwareSearchParams,
  contextInstance: ShopwareApiInstance = defaultInstance,
): Promise<Order | undefined> 
Parameters ​
| Name | Type | Description | 
|---|---|---|
| orderId | string | Id of an order | 
| params | ShopwareSearchParams | ShopwareSearchParams | 
| contextInstance | ShopwareApiInstance | - ShopwareApiInstance | 
Return type ​
ts
Promise<Order | undefined>
Usage example ​
WARNING
Example is generated automatically. Sometimes it's required to be adjusted to your needs.