Class: ReturnReasonsResource
Hierarchy
default
↳
ReturnReasonsResource
Methods
list
▸ list(customHeaders?
): ResponsePromise
<StoreReturnReasonsListRes
>
Lists return reasons defined in Medusa Admin
Parameters
Name | Type |
---|---|
customHeaders | Record <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
Name | Type | Description |
---|---|---|
id | string | is required |
customHeaders | Record <string , any > |
Returns
ResponsePromise
<StoreReturnReasonsRes
>