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": "f5db3ef0-0ef7-4f2f-9683-2705599cdf9c",
"ProductID": "96c57334-1e55-48e8-b35e-2a2260309ccb",
"OpportunityProductID": "b31a0d4c-7520-4fdb-af9a-44aaa0bb9509",
"CreateDate": "2026-02-28T22:46:18Z",
"EditDate": "2026-02-28T22:46:18Z",
"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:
"5e5baaff-1ebd-4b1e-b0a3-bb63d43f504a"