Skip to main content

Class: AdminStoresResource

Hierarchy

  • Copy to Clipboard

    Copy to Clipboard

Methods

addCurrency

addCurrency(

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

Copy to Clipboard

adds a currency to the store.

Parameters

NameTypeDescription
Copy to Clipboard
Copy to Clipboard
code of the currency to add
Copy to Clipboard
Copy to Clipboard
<
Copy to Clipboard
,
Copy to Clipboard
>

Returns

<
Copy to Clipboard
>

updated store.

Defined in

medusa-js/src/resources/admin/store.ts:31


deleteCurrency

deleteCurrency(

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

Copy to Clipboard

deletes a currency from the available store currencies

Parameters

NameTypeDescription
Copy to Clipboard
Copy to Clipboard
currency code of the currency to delete from the store.
Copy to Clipboard
Copy to Clipboard
<
Copy to Clipboard
,
Copy to Clipboard
>

Returns

<
Copy to Clipboard
>

updated store

Defined in

medusa-js/src/resources/admin/store.ts:45


listPaymentProviders

listPaymentProviders(

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

Copy to Clipboard

Lists the store's payment providers

Parameters

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

Returns

<
Copy to Clipboard
>

a list of payment providers configured on the store

Defined in

medusa-js/src/resources/admin/store.ts:68


listTaxProviders

listTaxProviders(

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

Copy to Clipboard

Lists the store's payment providers

Parameters

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

Returns

<
Copy to Clipboard
>

a list of payment providers configured on the store

Defined in

medusa-js/src/resources/admin/store.ts:79


retrieve

retrieve(

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

Copy to Clipboard

gets a medusa store

Parameters

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

Returns

<
Copy to Clipboard
>

a medusa store

Defined in

medusa-js/src/resources/admin/store.ts:57


update

update(

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

Copy to Clipboard

Updates the store

Parameters

NameTypeDescription
Copy to Clipboard
Copy to Clipboard
update to apply to the store.
Copy to Clipboard
Copy to Clipboard
<
Copy to Clipboard
,
Copy to Clipboard
>

Returns

<
Copy to Clipboard
>

the updated store.

Defined in

medusa-js/src/resources/admin/store.ts:17