GET api/OpportunityProducts/{id}

Get Product by Id. Supported Headers: SelectField

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The Opportunity Product Id

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

OpportunityProduct
NameDescriptionTypeAdditional 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": "23922014-76e8-4852-a7c3-07165c8c664c",
  "ProductID": "9aa983c9-bbeb-4ee8-838d-68fbaf8a04af",
  "OpportunityProductID": "0a2aa04c-0717-461e-8703-1e46e72b1dd2",
  "CreateDate": "2024-12-05T02:16:08Z",
  "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": {}
  }
}