create_coupon_group_m
Creates a new coupon group.
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. | |
group_name | string | 100 | Specified coupon group name. | |
client_defined_id | string | 100 | Client defined unique identifier for coupon group | |
description | string | 300 | Specifies group description | |
precedence | int | An optional parameter specifying the precedence of the coupon group. Default value is NULL. | ||
coupons | string array | Specifies an array of Coupon Codes to be associated with this coupon group. REST input arrays should be passed in the following format: coupons[0]=1002&coupons[1]=1003 etc |
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. |
group_no | int | Aria-assigned unique identifier for coupon group. |