Skip to main content

Class: AdminCurrenciesResource

Hierarchy

  • Copy to Clipboard

    Copy to Clipboard

Methods

list

list(

Copy to Clipboard
,
Copy to Clipboard
):
Copy to Clipboard
<
Copy to Clipboard
>

Copy to Clipboard

Lists currencies. This feature is under development and may change in the future. To use this feature please enable featureflag

Copy to Clipboard
in your medusa backend project.

Parameters

NameType
Copy to Clipboard
Copy to Clipboard
Copy to Clipboard
Copy to Clipboard
<
Copy to Clipboard
,
Copy to Clipboard
>

Returns

<
Copy to Clipboard
>

the list of currencies as well as the pagination properties.

Defined in

medusa-js/src/resources/admin/currencies.ts:20


update

update(

Copy to Clipboard
,
Copy to Clipboard
,
Copy to Clipboard
):
Copy to Clipboard
<
Copy to Clipboard
>

Copy to Clipboard

Updates a currency This feature is under development and may change in the future. To use this feature please enable featureflag

Copy to Clipboard
in your medusa backend project.

Parameters

NameTypeDescription
Copy to Clipboard
Copy to Clipboard
code of the currency to update.
Copy to Clipboard
Copy to Clipboard
update to apply to currency.
Copy to Clipboard
Copy to Clipboard
<
Copy to Clipboard
,
Copy to Clipboard
>

Returns

<
Copy to Clipboard
>

the updated currency.

Defined in

medusa-js/src/resources/admin/currencies.ts:43