AdminStoresResource
admin/store.AdminStoresResource
Methods
addCurrency
addCurrency(currency_code
, customHeaders?
): ResponsePromise
<AdminStoresRes
>
Parameters
currency_code
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminStoresRes
>
updated store.
Description
adds a currency to the store.
deleteCurrency
deleteCurrency(currency_code
, customHeaders?
): ResponsePromise
<AdminStoresRes
>
Parameters
currency_code
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminStoresRes
>
updated store
Description
deletes a currency from the available store currencies
listPaymentProviders
listPaymentProviders(customHeaders?
): ResponsePromise
<AdminPaymentProvidersList
>
Parameters
customHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminPaymentProvidersList
>
a list of payment providers configured on the store
Description
Lists the store's payment providers
listTaxProviders
listTaxProviders(customHeaders?
): ResponsePromise
<AdminTaxProvidersList
>
Parameters
customHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminTaxProvidersList
>
a list of payment providers configured on the store
Description
Lists the store's payment providers
retrieve
retrieve(customHeaders?
): ResponsePromise
<AdminExtendedStoresRes
>
Parameters
customHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminExtendedStoresRes
>
a medusa store
Description
gets a medusa store
update
update(payload
, customHeaders?
): ResponsePromise
<AdminStoresRes
>
Parameters
customHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminStoresRes
>
the updated store.
Description
Updates the store