Skip to main content

Class: AdminPostProductsProductVariantsReq

internal.AdminPostProductsProductVariantsReq

Properties

allow_backorder

Optional allow_backorder: boolean

Defined in

medusa/dist/api/routes/admin/products/create-variant.d.ts:201


barcode

Optional barcode: string

Defined in

medusa/dist/api/routes/admin/products/create-variant.d.ts:198


ean

Optional ean: string

Defined in

medusa/dist/api/routes/admin/products/create-variant.d.ts:196


height

Optional height: number

Defined in

medusa/dist/api/routes/admin/products/create-variant.d.ts:205


hs_code

Optional hs_code: string

Defined in

medusa/dist/api/routes/admin/products/create-variant.d.ts:199


inventory_quantity

Optional inventory_quantity: number

Defined in

medusa/dist/api/routes/admin/products/create-variant.d.ts:200


length

Optional length: number

Defined in

medusa/dist/api/routes/admin/products/create-variant.d.ts:204


manage_inventory

Optional manage_inventory: boolean

Defined in

medusa/dist/api/routes/admin/products/create-variant.d.ts:202


material

Optional material: string

Defined in

medusa/dist/api/routes/admin/products/create-variant.d.ts:209


metadata

Optional metadata: Record<string, unknown>

Defined in

medusa/dist/api/routes/admin/products/create-variant.d.ts:210


mid_code

Optional mid_code: string

Defined in

medusa/dist/api/routes/admin/products/create-variant.d.ts:208


options

Optional options: ProductVariantOptionReq[]

Defined in

medusa/dist/api/routes/admin/products/create-variant.d.ts:212


origin_country

Optional origin_country: string

Defined in

medusa/dist/api/routes/admin/products/create-variant.d.ts:207


prices

prices: ProductVariantPricesCreateReq[]

Defined in

medusa/dist/api/routes/admin/products/create-variant.d.ts:211


sku

Optional sku: string

Defined in

medusa/dist/api/routes/admin/products/create-variant.d.ts:195


title

title: string

Defined in

medusa/dist/api/routes/admin/products/create-variant.d.ts:194


upc

Optional upc: string

Defined in

medusa/dist/api/routes/admin/products/create-variant.d.ts:197


weight

Optional weight: number

Defined in

medusa/dist/api/routes/admin/products/create-variant.d.ts:203


width

Optional width: number

Defined in

medusa/dist/api/routes/admin/products/create-variant.d.ts:206

Was this page helpful?