Generate Rebate Payout Periods
Generate payout periods for a rebate program based on the frequency specified in the program.
This object is available in API version 51.0 and later for users with Rebate Management license.
Supported REST HTTP Methods
URI: /services/data/vXX.X/actions/standard/generateRebatePayoutPeriods
Where XX.X is the latest API version.
Formats: JSON, XML
HTTP Methods: GET, HEAD, POST
Authentication: Authorization: Bearer TOKEN
Where TOKEN is a variable.
Inputs
| Input | Type | Description |
|---|
rebateProgramId | ID | Required. The ID of the rebate program record for which you want to generate payout periods. |
Outputs
| Output | Type | Description |
|---|
rebateProgramPayoutPeriods | string | The list of rebate program payout period IDs upserted if the request is successful. |
Usage
Sample Request
1{
2 "inputs":[{"rebateProgramId":"0lcxx00004000002AAA"},
3 {"rebateProgramId":"0lcxx00004000002AAA"}
4 ]
5}
Sample Response
1{
2 "errors":null,
3 "isSuccess":true,
4 "RebateProgramPayoutPeriodIds":["0ntxx00004000002AAA","0ntxx00004000002AAB"]
5},{
6 "errors":null,
7 "isSuccess":true,
8 "RebateProgramPayoutPeriodIds":["0ntxx00004000002AAA","0ntxx00004000002AAB"]
9}