create_coupon_group_m
Summary
| API Name | create_coupon_group_m |
|---|---|
| Class | administration_services_m |
| Update Version | 44 |
Description
creates a new 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_name | string | 100 | Yes |
Specified coupon group name. |
| client_defined_id | string | 100 | No |
Client defined unique identifier for coupon group |
| description | string | 300 | No |
Specifies group description |
| precedence | int | No |
An optional parameter specifying the precedence of the coupon group. Default value is NULL. |
|
| 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. |