GET api/OpportunityProducts/{id}
Get Product by Id. Supported Headers: SelectField
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The Opportunity Product Id |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
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": "b1a0dd72-9c11-43ef-999e-6b1b354a1735",
"ProductID": "98b312da-4b12-4877-b381-7db80f71d61b",
"OpportunityProductID": "f5b04c64-9d49-42e3-aa95-b38c9d57e34f",
"CreateDate": "2026-08-29T12:46:43Z",
"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": {}
}
}