update_coupon_group_m
Summary
| API Name | update_coupon_group_m |
|---|---|
| Class | administration_services_m |
| Update Version | 44 |
Description
Updates the existing coupon group
Inputs
| Name | Type | Length | Required | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| client_no | long | 12 | Yes |
Aria-assigned unique identifier indicating the Aria client providing service to this account. |
||||||||
| auth_key | string | 32 | Yes |
Aria-assigned unique key to be passed with each method call for authenticating the validity of the requestor. |
||||||||
| group_no | long | 38 | Yes |
Specifies client defined id for coupon group Aria assigned group number Alternative required field: client_defined_id |
||||||||
| group_name | string | 100 | No |
Specified coupon group name. |
||||||||
| client_defined_id | string | 100 | No |
Client defined unique identifier for coupon group Alternative field: group_no |
||||||||
| description | string | 300 | No |
Specifies group description |
||||||||
| precedence | int | No |
An optional parameter specifying the precedence of the coupon group. Default value is NULL. |
|||||||||
| edit_directive | int | No |
A directive that indicates the action to be taken. Allowed values:
|
|||||||||
| coupons | object | No |
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 |
coupons fields
| Name | Type | Length | Required | Description |
|---|---|---|---|---|
| coupon | string | No |
Specifies Coupon Code you like to assign with this coupon group. |
Outputs
| Name | Type | Length | Required | Description |
|---|---|---|---|---|
| error_code | long | No |
Aria-assigned error identifier. 0 indicates no error |
|
| error_msg | string | No |
Textual description of any error that occurred. "OK" if there was no error. |
|
| group_no | long | No |
Aria-assigned unique identifier for coupon group. |