ProductDetails
ProductDetails = {
name?:string;productId?:string;quantity?:number;sku?:string;totalPrice?:number;unitPrice?:number; }
Defined in: types/product.ts:7
The purchase line item fields a campaign’s productScope can target.
Mirrors the backend’s PRODUCT_SCOPE_FIELDS allowlist exactly — a campaign
field outside this set cannot have been published.
Properties
Section titled “Properties”
optionalname?:string
Defined in: types/product.ts:10
productId?
Section titled “productId?”
optionalproductId?:string
Defined in: types/product.ts:8
quantity?
Section titled “quantity?”
optionalquantity?:number
Defined in: types/product.ts:11
optionalsku?:string
Defined in: types/product.ts:9
totalPrice?
Section titled “totalPrice?”
optionaltotalPrice?:number
Defined in: types/product.ts:13
unitPrice?
Section titled “unitPrice?”
optionalunitPrice?:number
Defined in: types/product.ts:12