Skip to content

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.

optional name?: string

Defined in: types/product.ts:10


optional productId?: string

Defined in: types/product.ts:8


optional quantity?: number

Defined in: types/product.ts:11


optional sku?: string

Defined in: types/product.ts:9


optional totalPrice?: number

Defined in: types/product.ts:13


optional unitPrice?: number

Defined in: types/product.ts:12