Properties
Optional amount
amount: number
Optional applied_discount_amount
applied_discount_amount: number
Optional discount_amount
discount_amount: number
Optional discount_quantity
discount_quantity: number
Optional initial_amount
initial_amount: number
Optional initial_quantity
initial_quantity: number
Optional metadata
metadata: Record<string, any>
Optional object
object: "order_item"
Optional price
price: number
Optional product
product: { id?: string; metadata?: Record<string, any>; name?: string; override?: boolean; price?: number; source_id?: string }
Type declaration
-
Optional id?: string
-
Optional metadata?: Record<string, any>
-
Optional name?: string
-
Optional override?: boolean
-
Optional price?: number
-
Optional source_id?: string
Optional product_id
product_id: string
Optional quantity
quantity: number
Optional related_object
related_object: "sku" | "product"
Optional sku
sku: { id?: string; override?: boolean; price?: number; sku?: string; source_id?: string }
Type declaration
-
Optional id?: string
-
Optional override?: boolean
-
Optional price?: number
-
Optional sku?: string
-
Optional source_id?: string
Optional sku_id
sku_id: string
Optional source_id
source_id: string
Optional subtotal_amount
subtotal_amount: number