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