Class: ShippingOptionsResource
Hierarchy
default
↳
ShippingOptionsResource
Methods
list
▸ list(query?
, customHeaders?
): ResponsePromise
<StoreShippingOptionsListRes
>
Description
Lists shiping options available
Parameters
Name | Type |
---|---|
query? | StoreGetShippingOptionsParams |
customHeaders | Record <string , any > |
Returns
ResponsePromise
<StoreShippingOptionsListRes
>
Defined in
medusa-js/src/resources/shipping-options.ts:27
listCartOptions
▸ listCartOptions(cart_id
, customHeaders?
): ResponsePromise
<StoreShippingOptionsListRes
>
Description
Lists shiping options available for a cart
Parameters
Name | Type |
---|---|
cart_id | string |
customHeaders | Record <string , any > |
Returns
ResponsePromise
<StoreShippingOptionsListRes
>