POST api/OpportunityProducts
Create a new Product
Request Information
URI Parameters
None.
Body Parameters
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. |
Request Formats
application/json, text/json
Sample:
{
"Total": 1.0,
"Quantity": 2.0,
"OpportunityID": "d7edbe00-85f1-494a-8710-ebefa94db86b",
"ProductID": "2dfb854d-4ec9-4599-b222-e94cef28e092",
"OpportunityProductID": "221c5983-bc78-4203-9133-4fa3102210ec",
"CreateDate": "2026-01-14T05:25:21Z",
"EditDate": "2026-01-14T05:25:21Z",
"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": {}
}
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"6a6a3e15-10c1-4d02-aa55-3404f442a56a"