create_discount_bundle_m
Creates a discount bundle
Input Arguments
Req | Field Name | Field Type | Max Length | Description | ||||||
---|---|---|---|---|---|---|---|---|---|---|
client_no | long | 22 | Aria-assigned unique identifier indicating the Aria client providing service to this account. | |||||||
auth_key | string | 32 | Aria-assigned unique key to be passed with each method call for authenticating the validity of the requestor. | |||||||
bundle_name | string | 300 | Specifies the name for the discount bundle. | |||||||
bundle_id | string | 30 | Specifies bundle id for discount Bundle | |||||||
bundle_description | string | 300 | Specifies description for the discount Bundle | |||||||
allow_overlap_ind | string | 1 | Specifies if the rules in the bundle can overlap or not.
Allowable values for allow_overlap_ind
|
|||||||
rules | int array | 12 | Specifies the rules to be grouped in this bundle. REST input arrays should be passed in the following format: rules[1]=1002&rules[2]=103 | |||||||
rule_ids | string array | 100 | Specifies the rules to be grouped in this bundle. REST input arrays should be passed in the following format: rule_ids[1]=1002&rule_ids[2]=103 |
Output Arguments
Field Name | Field Type | Description |
---|---|---|
error_code | long | Aria-assigned error identifier. 0 indicates no error |
error_msg | string | Textual description of any error that occurred. "OK" if there was no error. |
bundle_no | string | Bundle No |