Skip to main content

Class: AdminPostProductsReq

internal.AdminPostProductsReq

Properties

collection_id

Optional collection_id: string

Defined in

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


description

Optional description: string

Defined in

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


discountable

discountable: boolean

Defined in

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


handle

Optional handle: string

Defined in

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


height

Optional height: number

Defined in

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


hs_code

Optional hs_code: string

Defined in

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


images

Optional images: string[]

Defined in

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


is_giftcard

is_giftcard: boolean

Defined in

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


length

Optional length: number

Defined in

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


material

Optional material: string

Defined in

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


metadata

Optional metadata: Record<string, unknown>

Defined in

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


mid_code

Optional mid_code: string

Defined in

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


options

Optional options: ProductOptionReq[]

Defined in

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


origin_country

Optional origin_country: string

Defined in

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


sales_channels

Optional sales_channels: ProductSalesChannelReq[]

Defined in

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


status

Optional status: ProductStatus

Defined in

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


subtitle

Optional subtitle: string

Defined in

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


tags

Optional tags: ProductTagReq[]

Defined in

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


thumbnail

Optional thumbnail: string

Defined in

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


title

title: string

Defined in

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


type

Optional type: ProductTypeReq

Defined in

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


variants

Optional variants: ProductVariantReq[]

Defined in

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


weight

Optional weight: number

Defined in

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


width

Optional width: number

Defined in

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