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

# getCustomer() function

Get customer's object

Signature:

export declare function getCustomer(parameters?: ShopwareSearchParams, contextInstance?: ShopwareApiInstance): Promise<Customer | null>;

# Parameters

Parameter Type Description
parameters ShopwareSearchParams
contextInstance ShopwareApiInstance

Returns:

Promise<Customer | null>

# Exceptions

ClientApiError