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

# getCustomerOrders() function

Get all customer's orders

Signature:

export declare function getCustomerOrders(parameters?: ShopwareSearchParams, contextInstance?: ShopwareApiInstance): Promise<EntityResult<"order", Order[]>>;

# Parameters

Parameter Type Description
parameters ShopwareSearchParams
contextInstance ShopwareApiInstance

Returns:

Promise<EntityResult<"order", Order[]>>

# Exceptions

ClientApiError