Skip to main content

Class: RegionsResource

Hierarchy

  • default

    RegionsResource

Methods

list

list(customHeaders?): ResponsePromise<StoreRegionsListRes>

Description

Retrieves a list of regions

Parameters

NameType
customHeadersRecord<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

NameTypeDescription
idstringis required
customHeadersRecord<string, any>

Returns

ResponsePromise<StoreRegionsRes>

Defined in

medusa-js/src/resources/regions.ts:22

Was this page helpful?