update_coupon_group_m
Updates the existing 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_no | int | 38 | Specifies client defined id for coupon group Aria assigned group number. | |||||||||
OR | ||||||||||||
client_defined_id | string | 100 | Client defined unique identifier for coupon group. | |||||||||
group_name | string | 100 | Specified coupon group name. | |||||||||
description | string | 300 | Specifies group description. | |||||||||
precedence | int | An optional parameter specifying the precedence of the coupon group. Default value is NULL. | ||||||||||
edit_directive | int | A directive that indicates the action to be taken.
Allowable values for edit_directive:
|
||||||||||
coupons | string array | An array that specifies a Coupon Code you would like to assign to 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. |