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 OpportunityProduct| Name | 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. |
|
| EditDate | 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": "ea37b069-1119-4b03-95c4-cec9236ff6eb",
"ProductID": "956d93e8-b8b5-46dc-9b9d-5326a6fc3770",
"OpportunityProductID": "f2260183-8c8a-4632-8643-a936e7f9d024",
"CreateDate": "2026-02-28T23:51:12Z",
"EditDate": "2026-02-28T23:51:12Z",
"Discount": 7.0,
"Price": 8.0,
"ItemNumber": "sample string 9",
"Name": "sample string 10",
"Cost": 11.0,
"DiscountPrice": 12.0,
"CustomFields": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"Total": 1.0,
"Quantity": 2.0,
"OpportunityID": "ea37b069-1119-4b03-95c4-cec9236ff6eb",
"ProductID": "956d93e8-b8b5-46dc-9b9d-5326a6fc3770",
"OpportunityProductID": "f2260183-8c8a-4632-8643-a936e7f9d024",
"CreateDate": "2026-02-28T23:51:12Z",
"EditDate": "2026-02-28T23:51:12Z",
"Discount": 7.0,
"Price": 8.0,
"ItemNumber": "sample string 9",
"Name": "sample string 10",
"Cost": 11.0,
"DiscountPrice": 12.0,
"CustomFields": {
"sample string 1": {},
"sample string 3": {}
}
}
]