Loading
Salesforce Enforces New Security Requirements in Summer 2026Read More
Channel Revenue Management
Create Rebate Types with APIs

Create Rebate Types with APIs

You can create program rebate types for migration and integration purposes by using APIs that are available with Rebate and Accrual Management Advanced. However, to define the eligibility criteria for rebate types that are created by using APIs, ensure that you complete these additional steps.

Required Editions

Available in: Enterprise, Unlimited, and Developer Editions that have Rebate and Accrual Management Advanced enabled.
  1. Create the eligibility for the program rebate type in the ProgramRebateTypeFilter object in this format: FilterField,Operator,ProgramRebateTypeId,Value,Sequence. For example, ProductId,Equals,0hvB00000008OOJIA2,01tB0000000gMmuIAE,3
    • FilterField - API name of the field that's used as a parameter to filter journal records.
    • Operator - Operator that decides how the records are filtered.
    • ProgramRebateTypeId - ID of the program rebate type record.
    • Value - Value based on which records are filtered. It could either be an actual ID, text, or picklist value depending on the field type in the transaction journal.
    • Sequence - Unique number to specify the sequence of the filters that you added to that program rebate type.
  2. After you create the ProgramRebateTypeFilter records, update the ProgramRebateType object with these values. FilterAction,FilterLogic,Id. For example, "AnyConditionMet","1 OR 2",0hvB00000008OOJIA2 Where:
    • FilterAction - Its valid values are AnyConditionMet, AllConditionMet, NoConditionMet, or CustomLogic.
    • FilterLogic - Filter logic is based on the added filters and their sequence number. For example, 1 OR 2 OR 3, 1 OR 2, 1, or (1 OR 2) AND 3.
    • Id - ID of the program rebate type record.
 
Loading
Salesforce Help | Article