get_discount_rule_details_m Guide
- Last updated
-
-
Save as PDF
Lists all the details of a given discount rule.
Note: The previously existing input and/or output fields <client_item_id>, <client_item_id_out> and/or <filter_client_item_id> were removed from this API call in Release 47.
Additional Guidance
Input Fields
Field Name |
Notes |
<include_translations> |
Allowable values
Values |
Description |
true |
Translated fields will be fetched in all the locales defined. |
false |
Translation information will not be fetched. |
|
Output Fields
Field Name |
Notes |
<duration_type_ind> |
Allowable values
Values |
Description |
U |
Number of uses |
M |
Duration in months |
W |
Duration in weeks |
D |
Duration in days |
I |
Never expires |
|
<inline_offset_ind> |
Allowable values
Values |
Description |
I |
Inline |
O |
Offset |
|
<service_code_to_use> |
Allowable values
Values |
Description |
0 |
Uses the same service as the 'charge' line item |
1 |
Uses a specific service |
|
<scope_no> |
Allowable values
Values |
Description |
0 |
All Charges |
10 |
All Plan Charges, All Plans |
11 |
All Plan Charges, Specified Plans |
12 |
All Plans, Specified Service Charges |
13 |
Specified Plan/Service Charges |
21 |
All Recurring Service Charges |
22 |
All Usage Service Charges |
23 |
All Activation Service Charges |
30 |
All Item Charges |
31 |
Specified Item Charges |
|
<discount_behavior_type_ind> |
Allowable values
Values |
Description |
G |
Apply to gross amount of the charge |
N |
Apply to net amount after previously applied discounts |
|