DemandFlow Support Centre

DEALPRODUCT: Deal Product

ReferenceEntity Reference16/04/2026Updated 16/04/2026
A junction entity linking a deal to a product with quantity, pricing, and discount information.

DEALPRODUCT: Deal Product

A junction entity linking a deal to a product with quantity, pricing, and discount information.

Default definition. This article describes the default DEALPRODUCT definition shipped with DemandFlow. Administrators can add, remove, rename, or re-type fields, change which ones are required, and alter the layout from the Definitions screen in Settings. Your tenant's current schema may differ from what is shown here. To read the current definition at any time, GET the DEFINITION object whose id matches DEALPRODUCT.

Entity properties

PropertyValue
Entity codeDEALPRODUCT
Display nameDeal Product
PluralDeal Products
Level231

Use cases

DEALPRODUCT is a junction between DEAL and PROD. comboKey uses SUB|DEAL format. The product field is an objectLookup to PROD. Financial fields include quantity, unitPrice, discount, and lineTotal. lineTotal is computed client-side as quantity * unitPrice * (1 - discount/100).

Fields

Product Line

FieldTypeRequiredNotes
productreference → PRODYesProduct.
quantitynumberYesQuantity.
unitPricenumberYesUnit Price.
discountnumberDiscount %.
lineTotalnumberLine Total. Read only.

Details

FieldTypeRequiredNotes
nametextOptional override name for this line item
descriptiontext (multi-line)Notes.
recurringTypeenumValid ids: oneoff (One-off), monthly (Monthly), annual (Annual), quarterly (Quarterly).

Relationships

  • Lookup: product (reference → PROD).

Creating a Deal Product via the API

POST /v1/objects
Authorization: Bearer <your-pat>
Content-Type: application/json

{
  "entity":   "DEALPRODUCT",
  "level":    231,
  "comboKey": "SUB:<your-sub-id>|ENT:",
  "product": "",
  "quantity": 0,
  "unitPrice": 0,
  "name": "Example name"
}

Listing Deal Products records

GET /v1/entities/DEALPRODUCT/SUB:<your-sub-id>

See also

dealproductdealproductproductsdealsjunctionentitylinkingwithquantitypricing

Was this article helpful?

← Back to Knowledge Base