Skip to main content
Skip to main content

AdminCurrenciesResource

admin/currencies.AdminCurrenciesResource

Methods

list

list(query?, customHeaders?): ResponsePromise<AdminCurrenciesListRes>

Parameters

customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<AdminCurrenciesListRes>

ResponsePromiseResponsePromise<AdminCurrenciesListRes>Required
the list of currencies as well as the pagination properties.

Description

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


update

update(code, payload, customHeaders?): ResponsePromise<AdminCurrenciesRes>

Parameters

codestringRequired
code of the currency to update.
update to apply to currency.
customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<AdminCurrenciesRes>

ResponsePromiseResponsePromise<AdminCurrenciesRes>Required
the updated currency.

Description

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

Was this section helpful?