Skip to main content

Class: ProductVariantReq

internal.ProductVariantReq

Properties

allow_backorder

Optional allow_backorder: boolean

Defined in

medusa/dist/api/routes/admin/products/update-product.d.ts:272


barcode

Optional barcode: string

Defined in

medusa/dist/api/routes/admin/products/update-product.d.ts:269


ean

Optional ean: string

Defined in

medusa/dist/api/routes/admin/products/update-product.d.ts:267


height

Optional height: number

Defined in

medusa/dist/api/routes/admin/products/update-product.d.ts:276


hs_code

Optional hs_code: string

Defined in

medusa/dist/api/routes/admin/products/update-product.d.ts:270


id

Optional id: string

Defined in

medusa/dist/api/routes/admin/products/update-product.d.ts:264


inventory_quantity

Optional inventory_quantity: number

Defined in

medusa/dist/api/routes/admin/products/update-product.d.ts:271


length

Optional length: number

Defined in

medusa/dist/api/routes/admin/products/update-product.d.ts:275


manage_inventory

Optional manage_inventory: boolean

Defined in

medusa/dist/api/routes/admin/products/update-product.d.ts:273


material

Optional material: string

Defined in

medusa/dist/api/routes/admin/products/update-product.d.ts:280


metadata

Optional metadata: Record<string, unknown>

Defined in

medusa/dist/api/routes/admin/products/update-product.d.ts:281


mid_code

Optional mid_code: string

Defined in

medusa/dist/api/routes/admin/products/update-product.d.ts:279


options

Optional options: ProductVariantOptionReq[]

Defined in

medusa/dist/api/routes/admin/products/update-product.d.ts:283


origin_country

Optional origin_country: string

Defined in

medusa/dist/api/routes/admin/products/update-product.d.ts:278


prices

Optional prices: ProductVariantPricesUpdateReq[]

Defined in

medusa/dist/api/routes/admin/products/update-product.d.ts:282


sku

Optional sku: string

Defined in

medusa/dist/api/routes/admin/products/update-product.d.ts:266


title

Optional title: string

Defined in

medusa/dist/api/routes/admin/products/update-product.d.ts:265


upc

Optional upc: string

Defined in

medusa/dist/api/routes/admin/products/update-product.d.ts:268


weight

Optional weight: number

Defined in

medusa/dist/api/routes/admin/products/update-product.d.ts:274


width

Optional width: number

Defined in

medusa/dist/api/routes/admin/products/update-product.d.ts:277