Skip to main content

Class: ShippingOptionsResource

Hierarchy

  • default

    ShippingOptionsResource

Methods

list

list(query?, customHeaders?): ResponsePromise<StoreShippingOptionsListRes>

Description

Lists shiping options available

Parameters

NameType
query?StoreGetShippingOptionsParams
customHeadersRecord<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

NameType
cart_idstring
customHeadersRecord<string, any>

Returns

ResponsePromise<StoreShippingOptionsListRes>

Defined in

medusa-js/src/resources/shipping-options.ts:16