SALEPRODROL: Product-Role Weight
The SALEPRODROL entity: A weighted junction linking a product to a buyer role, indicating how relevant the product is to that persona.
Default definition. This article describes the default
SALEPRODROL 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 SALEPRODROL.Entity properties
| Property | Value |
|---|---|
| Entity code | SALEPRODROL |
| Display name | Product-Role Weight |
| Plural | Product-Role Weights |
| Level | 30000 |
Use cases
Junction entity linking PROD to SALEROLE with a relevance weight (0-1). Uses dual-comboKey: product at position 1 (comboKey), role at position 2 (comboKey2). PROD shows 'Roles' relatedlist via comboKey, SALEROLE shows 'Products' via comboKey2.
Fields
Product-Role Link
| Field | Type | Required | Notes |
|---|---|---|---|
product | reference → PROD | Yes | Product |
role | reference → SALEROLE | Yes | Buyer role |
weight | number | Yes | Relevance weight from 0 (not relevant) to 1 (highly relevant) |
Relationships
- Lookups:
productpoints at aPRODrecord;rolepoints at aSALEROLErecord.
Creating a Product-Role Weight via the API
POST /v1/objects
Authorization: Bearer <your-pat>
Content-Type: application/json
{
"entity": "SALEPRODROL",
"level": 30000,
"comboKey": "SUB:|ENT:",
"product": "",
"role": "",
"weight": 1
}
Listing Product-Role Weights records
GET /v1/entities/SALEPRODROL/SUB