* added reference for JS Client * added reference for JS Client * added reference for JS Client
4.8 KiB
displayed_sidebar
| displayed_sidebar |
|---|
| jsClientSidebar |
Class: Product
internal.Product
Hierarchy
-
↳
Product
Properties
beforeInsert
• Private beforeInsert: any
Defined in
packages/medusa/dist/models/product.d.ts:44
collection
• collection: ProductCollection
Defined in
packages/medusa/dist/models/product.d.ts:37
collection_id
• collection_id: null | string
Defined in
packages/medusa/dist/models/product.d.ts:36
created_at
• created_at: Date
Inherited from
SoftDeletableEntity.created_at
Defined in
packages/medusa/dist/interfaces/models/base-entity.d.ts:6
deleted_at
• deleted_at: null | Date
Inherited from
SoftDeletableEntity.deleted_at
Defined in
packages/medusa/dist/interfaces/models/soft-deletable-entity.d.ts:3
description
• description: string
Defined in
packages/medusa/dist/models/product.d.ts:18
discountable
• discountable: boolean
Defined in
packages/medusa/dist/models/product.d.ts:41
external_id
• external_id: string
Defined in
packages/medusa/dist/models/product.d.ts:42
handle
• handle: string
Defined in
packages/medusa/dist/models/product.d.ts:19
height
• height: number
Defined in
packages/medusa/dist/models/product.d.ts:30
hs_code
• hs_code: string
Defined in
packages/medusa/dist/models/product.d.ts:32
id
• id: string
Inherited from
Defined in
packages/medusa/dist/interfaces/models/base-entity.d.ts:5
images
• images: Image[]
Defined in
packages/medusa/dist/models/product.d.ts:22
is_giftcard
• is_giftcard: boolean
Defined in
packages/medusa/dist/models/product.d.ts:20
length
• length: number
Defined in
packages/medusa/dist/models/product.d.ts:29
material
• material: string
Defined in
packages/medusa/dist/models/product.d.ts:35
metadata
• metadata: Record<string, unknown>
Defined in
packages/medusa/dist/models/product.d.ts:43
mid_code
• mid_code: string
Defined in
packages/medusa/dist/models/product.d.ts:34
options
• options: ProductOption[]
Defined in
packages/medusa/dist/models/product.d.ts:24
origin_country
• origin_country: string
Defined in
packages/medusa/dist/models/product.d.ts:33
profile
• profile: ShippingProfile
Defined in
packages/medusa/dist/models/product.d.ts:27
profile_id
• profile_id: string
Defined in
packages/medusa/dist/models/product.d.ts:26
status
• status: Status
Defined in
packages/medusa/dist/models/product.d.ts:21
subtitle
• subtitle: string
Defined in
packages/medusa/dist/models/product.d.ts:17
tags
• tags: ProductTag[]
Defined in
packages/medusa/dist/models/product.d.ts:40
thumbnail
• thumbnail: string
Defined in
packages/medusa/dist/models/product.d.ts:23
title
• title: string
Defined in
packages/medusa/dist/models/product.d.ts:16
type
• type: ProductType
Defined in
packages/medusa/dist/models/product.d.ts:39
type_id
• type_id: string
Defined in
packages/medusa/dist/models/product.d.ts:38
updated_at
• updated_at: Date
Inherited from
SoftDeletableEntity.updated_at
Defined in
packages/medusa/dist/interfaces/models/base-entity.d.ts:7
variants
• variants: ProductVariant[]
Defined in
packages/medusa/dist/models/product.d.ts:25
weight
• weight: number
Defined in
packages/medusa/dist/models/product.d.ts:28
width
• width: number
Defined in
packages/medusa/dist/models/product.d.ts:31