Newer Version Available
ConnectApi.ChangeItemFeeInputRepresentation
| Property | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
| amount | Double | Positive value used to calculate the fee amount, as described by the amountType. | Required | 57.0 |
| amountType | String |
Describes how the fee amount is calculated. Valid values
are:
|
Required | 57.0 |
| description | String | Description of the fee. | Required | 57.0 |
| priceBookEntryId | String | ID of the price book entry associated with the fee product. | Required unless price books are optional in the org | 57.0 |
| product2Id | String | ID of the product representing the fee. | Required | 57.0 |
| reason | String | Reason for the fee. The value must match an entry in the OrderProductSummaryChange object’s Reason picklist. | Required | 57.0 |