Skip to content
On this page

getOrderDetails ​

Definition ​

Get order details

Signature ​

ts
export async function getOrderDetails(
  orderId: string,
  params?: ShopwareSearchParams,
  contextInstance: ShopwareApiInstance = defaultInstance,
): Promise<Order | undefined> 

Parameters ​

NameTypeDescription
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.

Open in StackBlitz

getOrderDetails has loaded