Skip to content
On this page

getCustomer

Definition

Get customer's object

Signature

ts
export async function getCustomer(
  parameters: ShopwareSearchParams = {},
  contextInstance: ShopwareApiInstance = defaultInstance,
): Promise<Customer | null> 

Parameters

NameTypeDescription
parameters
ShopwareSearchParams
ShopwareSearchParams
contextInstance
ShopwareApiInstance

Return type

ts
Promise<Customer | >

Properties

NameTypeDescription

Usage example

WARNING

Example is generated automatically. Sometimes it's required to be adjusted to your needs.

Open in StackBlitz

getCustomer has loaded