Class: ProductVariant
internal.ProductVariant
Base abstract entity for all entities
Hierarchy
↳
ProductVariant
Properties
allow_backorder
• allow_backorder: boolean
Defined in
medusa/dist/models/product-variant.d.ts:16
barcode
• barcode: string
Defined in
medusa/dist/models/product-variant.d.ts:11
beforeInsert
• Private
beforeInsert: any
Defined in
medusa/dist/models/product-variant.d.ts:28
created_at
• created_at: Date
Inherited from
SoftDeletableEntity.created_at
Defined in
medusa/dist/interfaces/models/base-entity.d.ts:6
deleted_at
• deleted_at: null
| Date
Inherited from
SoftDeletableEntity.deleted_at
Defined in
medusa/dist/interfaces/models/soft-deletable-entity.d.ts:3
ean
• ean: string
Defined in
medusa/dist/models/product-variant.d.ts:12
height
• height: number
Defined in
medusa/dist/models/product-variant.d.ts:24
hs_code
• hs_code: string
Defined in
medusa/dist/models/product-variant.d.ts:18
id
• id: string
Inherited from
Defined in
medusa/dist/interfaces/models/base-entity.d.ts:5
inventory_quantity
• inventory_quantity: number
Defined in
medusa/dist/models/product-variant.d.ts:15
length
• length: number
Defined in
medusa/dist/models/product-variant.d.ts:23
manage_inventory
• manage_inventory: boolean
Defined in
medusa/dist/models/product-variant.d.ts:17
material
• material: string
Defined in
medusa/dist/models/product-variant.d.ts:21
metadata
• metadata: Record
<string
, unknown
>
Defined in
medusa/dist/models/product-variant.d.ts:27
mid_code
• mid_code: string
Defined in
medusa/dist/models/product-variant.d.ts:20
options
• options: ProductOptionValue
[]
Defined in
medusa/dist/models/product-variant.d.ts:26
origin_country
• origin_country: string
Defined in
medusa/dist/models/product-variant.d.ts:19
prices
• prices: MoneyAmount
[]
Defined in
medusa/dist/models/product-variant.d.ts:9
product
• product: Product
Defined in
medusa/dist/models/product-variant.d.ts:8
product_id
• product_id: string
Defined in
medusa/dist/models/product-variant.d.ts:7
sku
• sku: string
Defined in
medusa/dist/models/product-variant.d.ts:10
title
• title: string
Defined in
medusa/dist/models/product-variant.d.ts:6
upc
• upc: string
Defined in
medusa/dist/models/product-variant.d.ts:13
updated_at
• updated_at: Date
Inherited from
SoftDeletableEntity.updated_at
Defined in
medusa/dist/interfaces/models/base-entity.d.ts:7
variant_rank
• variant_rank: number
Defined in
medusa/dist/models/product-variant.d.ts:14
weight
• weight: number
Defined in
medusa/dist/models/product-variant.d.ts:22
width
• width: number
Defined in
medusa/dist/models/product-variant.d.ts:25