Home > @shopware-pwa/shopware-6-client > createOrder

# createOrder() function

Creates an order for logged in and guest users

Signature:

export declare function createOrder(params?: CreateOrderParams, contextInstance?: ShopwareApiInstance): Promise<Order>;

# Parameters

Parameter Type Description
params CreateOrderParams
contextInstance ShopwareApiInstance

Returns:

Promise<Order>