Class: RegionsResource
Hierarchy
default
↳
RegionsResource
Methods
list
▸ list(customHeaders?
): ResponsePromise
<StoreRegionsListRes
>
Description
Retrieves a list of regions
Parameters
Name | Type |
---|---|
customHeaders | Record <string , any > |
Returns
ResponsePromise
<StoreRegionsListRes
>
Defined in
medusa-js/src/resources/regions.ts:11
retrieve
▸ retrieve(id
, customHeaders?
): ResponsePromise
<StoreRegionsRes
>
Description
Retrieves a region
Parameters
Name | Type | Description |
---|---|---|
id | string | is required |
customHeaders | Record <string , any > |
Returns
ResponsePromise
<StoreRegionsRes
>