Skip to main content

Class: OrdersResource

Hierarchy

  • Copy to Clipboard

    Copy to Clipboard

Methods

lookupOrder

lookupOrder(Copy to Clipboard, Copy to Clipboard): Copy to Clipboard<Copy to Clipboard>

Copy to Clipboard

Look up an order using order details

Parameters

NameTypeDescription
Copy to ClipboardCopy to Clipboarddetails used to look up the order
Copy to ClipboardCopy to Clipboard<Copy to Clipboard, Copy to Clipboard>

Returns

Copy to Clipboard<Copy to Clipboard>

Defined in

medusa-js/src/resources/orders.ts:41


retrieve

retrieve(Copy to Clipboard, Copy to Clipboard): Copy to Clipboard<Copy to Clipboard>

Copy to Clipboard

Retrieves an order

Parameters

NameTypeDescription
Copy to ClipboardCopy to Clipboardis required
Copy to ClipboardCopy to Clipboard<Copy to Clipboard, Copy to Clipboard>

Returns

Copy to Clipboard<Copy to Clipboard>

Defined in

medusa-js/src/resources/orders.ts:13


retrieveByCartId

retrieveByCartId(Copy to Clipboard, Copy to Clipboard): Copy to Clipboard<Copy to Clipboard>

Copy to Clipboard

Retrieves an order by cart id

Parameters

NameTypeDescription
Copy to ClipboardCopy to Clipboardis required
Copy to ClipboardCopy to Clipboard<Copy to Clipboard, Copy to Clipboard>

Returns

Copy to Clipboard<Copy to Clipboard>

Defined in

medusa-js/src/resources/orders.ts:27