Class: CreateProduct
backend.CreateProduct
Hierarchy#
↳
CreateProduct
Implements#
TProductInput
Table of contents#
Constructors#
Properties#
- attributes
- categoryIds
- customMeta
- description
- descriptionDelta
- images
- isEnabled
- mainCategoryId
- mainImage
- manageStock
- meta
- name
- oldPrice
- pageDescription
- pageTitle
- price
- sku
- slug
- stockAmount
- stockStatus
- variants
Constructors#
constructor#
• new CreateProduct()
Inherited from#
Properties#
attributes#
• Optional attributes: AttributeInstance[]
Implementation of#
TProductInput.attributes
Defined in#
system/core/backend/src/models/inputs/product.create.ts:41
categoryIds#
• categoryIds: number[]
Implementation of#
TProductInput.categoryIds
Defined in#
system/core/backend/src/models/inputs/product.create.ts:14
customMeta#
• Optional customMeta: null | Record<string, null | string>
Implementation of#
TProductInput.customMeta
Inherited from#
Defined in#
system/core/backend/src/models/inputs/base-page.input.ts:32
description#
• Optional description: string
Implementation of#
TProductInput.description
Defined in#
system/core/backend/src/models/inputs/product.create.ts:35
descriptionDelta#
• Optional descriptionDelta: string
Implementation of#
TProductInput.descriptionDelta
Defined in#
system/core/backend/src/models/inputs/product.create.ts:38
images#
• images: string[]
Implementation of#
TProductInput.images
Defined in#
system/core/backend/src/models/inputs/product.create.ts:32
isEnabled#
• Optional isEnabled: null | boolean
Implementation of#
TProductInput.isEnabled
Inherited from#
Defined in#
system/core/backend/src/models/inputs/base-page.input.ts:26
mainCategoryId#
• mainCategoryId: number
Implementation of#
TProductInput.mainCategoryId
Defined in#
system/core/backend/src/models/inputs/product.create.ts:17
mainImage#
• mainImage: string
Implementation of#
TProductInput.mainImage
Defined in#
system/core/backend/src/models/inputs/product.create.ts:29
manageStock#
• Optional manageStock: boolean
Implementation of#
TProductInput.manageStock
Defined in#
system/core/backend/src/models/inputs/product.create.ts:50
meta#
• Optional meta: null | TBasePageMeta
Implementation of#
TProductInput.meta
Inherited from#
Defined in#
system/core/backend/src/models/inputs/base-page.input.ts:29
name#
• name: string
Implementation of#
TProductInput.name
Defined in#
system/core/backend/src/models/inputs/product.create.ts:11
oldPrice#
• Optional oldPrice: number
Implementation of#
TProductInput.oldPrice
Defined in#
system/core/backend/src/models/inputs/product.create.ts:23
pageDescription#
• Optional pageDescription: null | string
Implementation of#
TProductInput.pageDescription
Inherited from#
Defined in#
system/core/backend/src/models/inputs/base-page.input.ts:23
pageTitle#
• Optional pageTitle: null | string
Implementation of#
TProductInput.pageTitle
Inherited from#
Defined in#
system/core/backend/src/models/inputs/base-page.input.ts:20
price#
• price: number
Implementation of#
TProductInput.price
Defined in#
system/core/backend/src/models/inputs/product.create.ts:20
sku#
• Optional sku: string
Implementation of#
TProductInput.sku
Defined in#
system/core/backend/src/models/inputs/product.create.ts:26
slug#
• Optional slug: null | string
Implementation of#
TProductInput.slug
Inherited from#
Defined in#
system/core/backend/src/models/inputs/base-page.input.ts:17
stockAmount#
• Optional stockAmount: number
Implementation of#
TProductInput.stockAmount
Defined in#
system/core/backend/src/models/inputs/product.create.ts:44
stockStatus#
• Optional stockStatus: TStockStatus
Implementation of#
TProductInput.stockStatus
Defined in#
system/core/backend/src/models/inputs/product.create.ts:47
variants#
• Optional variants: ProductVariantInput[]
Implementation of#
TProductInput.variants