Skip to main content

Class: ProductVariantsResource

Hierarchy

  • Copy to Clipboard

    Copy to Clipboard

Methods

list

list(

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

Copy to Clipboard

Retrieves a list of of Product Variants

Parameters

NameType
Copy to Clipboard
Copy to Clipboard
Copy to Clipboard
Copy to Clipboard
<
Copy to Clipboard
,
Copy to Clipboard
>

Returns

<
Copy to Clipboard
>

Defined in

medusa-js/src/resources/product-variants.ts:28


retrieve

retrieve(

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

Copy to Clipboard

Retrieves a single product variant

Parameters

NameTypeDescription
Copy to Clipboard
Copy to Clipboard
is required
Copy to Clipboard
Copy to Clipboard
<
Copy to Clipboard
,
Copy to Clipboard
>

Returns

<
Copy to Clipboard
>

Defined in

medusa-js/src/resources/product-variants.ts:17