Skip to main content

Class: ReturnReasonsResource

Hierarchy

  • default

    ReturnReasonsResource

Methods

list

list(customHeaders?): ResponsePromise<StoreReturnReasonsListRes>

Lists return reasons defined in Medusa Admin

Parameters

NameType
customHeadersRecord<string, any>

Returns

ResponsePromise<StoreReturnReasonsListRes>

Defined in

medusa-js/src/resources/return-reasons.ts:25


retrieve

retrieve(id, customHeaders?): ResponsePromise<StoreReturnReasonsRes>

Description

Retrieves a single Return Reason

Parameters

NameTypeDescription
idstringis required
customHeadersRecord<string, any>

Returns

ResponsePromise<StoreReturnReasonsRes>

Defined in

medusa-js/src/resources/return-reasons.ts:15

Was this page helpful?