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

# setCurrentCurrency() function

Signature:

export declare function setCurrentCurrency(newCurrencyID: string, contextInstance?: ShopwareApiInstance): Promise<ContextTokenResponse>;

# Parameters

Parameter Type Description
newCurrencyID string
contextInstance ShopwareApiInstance

Returns:

Promise<ContextTokenResponse>

# Exceptions

ClientApiError