GET api/OpportunityProducts
Get all products linked to Opportunities with an optional filter. Supported Headers: SelectField, Filter, Sort, SortDesc
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of OpportunityProductName | Description | Type | Additional information |
---|---|---|---|
Total | decimal number |
None. |
|
Quantity | decimal number |
None. |
|
OpportunityID | globally unique identifier |
None. |
|
ProductID | globally unique identifier |
None. |
|
OpportunityProductID | globally unique identifier |
None. |
|
CreateDate | date |
None. |
|
Discount | decimal number |
None. |
|
Price | decimal number |
None. |
|
ItemNumber | string |
None. |
|
Name | string |
None. |
|
Cost | decimal number |
None. |
|
DiscountPrice | decimal number |
None. |
|
CustomFields | Dictionary of string [key] and Object [value] |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Total": 1.0, "Quantity": 2.0, "OpportunityID": "74adc06c-0a20-4688-bce5-e9568c75fb32", "ProductID": "8ee489d6-4394-4ae4-884f-c4c0cdf63f83", "OpportunityProductID": "eb28cd22-3850-46a0-8479-a9cd6cc8166b", "CreateDate": "2025-04-18T12:24:22Z", "Discount": 6.0, "Price": 7.0, "ItemNumber": "sample string 8", "Name": "sample string 9", "Cost": 10.0, "DiscountPrice": 11.0, "CustomFields": { "sample string 1": {}, "sample string 3": {} } }, { "Total": 1.0, "Quantity": 2.0, "OpportunityID": "74adc06c-0a20-4688-bce5-e9568c75fb32", "ProductID": "8ee489d6-4394-4ae4-884f-c4c0cdf63f83", "OpportunityProductID": "eb28cd22-3850-46a0-8479-a9cd6cc8166b", "CreateDate": "2025-04-18T12:24:22Z", "Discount": 6.0, "Price": 7.0, "ItemNumber": "sample string 8", "Name": "sample string 9", "Cost": 10.0, "DiscountPrice": 11.0, "CustomFields": { "sample string 1": {}, "sample string 3": {} } } ]