Process Program Rebate Type Products
Insert or delete the records in the Program Rebate Type Product object. The inserted products participate as inclusion or exclusion as defined in the Product Filter Type option on Program Rebate Type.
For more information about how the processProgramRebateTypeProducts action inserts or deletes records, see Create Payout Calculation Flows with Flow Actions in Salesforce Help.
This object is available in API version 53.0 and later.
URI: /services/data/vXX.X/actions/standard/processProgramRebateTypeProducts
Where XX.X is the latest API version.
Formats: JSON
HTTP Methods: POST
Authentication: Authorization: Bearer TOKEN
Where TOKEN is a variable.
| Input | Type | Description |
|---|---|---|
operationType | string | Required. The type of operation to be performed on the program rebate type product records. Possible values are:
|
productListViewId | string | The ID of the product list view containing the products to be added to the inclusion or exclusion list of this program rebate type. Note: This field isn’t used when the type of operation is Delete. |
programRebateTypeId | string | Required. The ID of the program rebate type for which the records are being processed. |
JSON Sample Request