Class: AdminSwapsResource
Hierarchy
default
↳
AdminSwapsResource
Methods
list
▸ list(query?
, customHeaders?
): ResponsePromise
<AdminSwapsListRes
>
Parameters
Name | Type |
---|---|
query? | AdminGetSwapsParams |
customHeaders | Record <string , any > |
Returns
ResponsePromise
<AdminSwapsListRes
>
Defined in
medusa-js/src/resources/admin/swaps.ts:19
retrieve
▸ retrieve(id
, customHeaders?
): ResponsePromise
<AdminSwapsRes
>
Parameters
Name | Type |
---|---|
id | string |
customHeaders | Record <string , any > |
Returns
ResponsePromise
<AdminSwapsRes
>