Appearance
createOrder
Definition
Creates an order for logged in and guest users
Signature
ts
export async function createOrder(
params?: CreateOrderParams,
contextInstance: ShopwareApiInstance = defaultInstance
): Promise<Order>
Parameters
Name | Type | Description |
---|---|---|
params | CreateOrderParams | CreateOrderParams |
contextInstance | ShopwareApiInstance | ShopwareApiInstance |
Return type
ts
Promise<Order>
Usage example
WARNING
Example is generated automatically. Sometimes it's required to be adjusted to your needs.