Skip to main content

Class: ProductVariantReq

internal.ProductVariantReq

Properties

allow_backorder

Optional allow_backorder: boolean

Defined in

medusa/dist/api/routes/admin/products/create-product.d.ts:286


barcode

Optional barcode: string

Defined in

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


ean

Optional ean: string

Defined in

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


height

Optional height: number

Defined in

medusa/dist/api/routes/admin/products/create-product.d.ts:290


hs_code

Optional hs_code: string

Defined in

medusa/dist/api/routes/admin/products/create-product.d.ts:284


inventory_quantity

Optional inventory_quantity: number

Defined in

medusa/dist/api/routes/admin/products/create-product.d.ts:285


length

Optional length: number

Defined in

medusa/dist/api/routes/admin/products/create-product.d.ts:289


manage_inventory

Optional manage_inventory: boolean

Defined in

medusa/dist/api/routes/admin/products/create-product.d.ts:287


material

Optional material: string

Defined in

medusa/dist/api/routes/admin/products/create-product.d.ts:294


metadata

Optional metadata: Record<string, unknown>

Defined in

medusa/dist/api/routes/admin/products/create-product.d.ts:295


mid_code

Optional mid_code: string

Defined in

medusa/dist/api/routes/admin/products/create-product.d.ts:293


options

Optional options: ProductVariantOptionReq[]

Defined in

medusa/dist/api/routes/admin/products/create-product.d.ts:297


origin_country

Optional origin_country: string

Defined in

medusa/dist/api/routes/admin/products/create-product.d.ts:292


prices

prices: ProductVariantPricesCreateReq[]

Defined in

medusa/dist/api/routes/admin/products/create-product.d.ts:296


sku

Optional sku: string

Defined in

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


title

title: string

Defined in

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


upc

Optional upc: string

Defined in

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


weight

Optional weight: number

Defined in

medusa/dist/api/routes/admin/products/create-product.d.ts:288


width

Optional width: number

Defined in

medusa/dist/api/routes/admin/products/create-product.d.ts:291

Was this page helpful?