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. |
|
| 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": "ec2b81b6-2d6e-4fba-b75f-4d0167ecee7a",
"ProductID": "1069a3fa-076d-4555-b6bd-5b4795f90ba9",
"OpportunityProductID": "5f2ca817-a6b5-4111-8f60-8890e8bdf6ab",
"CreateDate": "2026-01-23T08:45:42Z",
"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": "ec2b81b6-2d6e-4fba-b75f-4d0167ecee7a",
"ProductID": "1069a3fa-076d-4555-b6bd-5b4795f90ba9",
"OpportunityProductID": "5f2ca817-a6b5-4111-8f60-8890e8bdf6ab",
"CreateDate": "2026-01-23T08:45:42Z",
"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": {}
}
}
]