update_promotion_m
Updates an existing promotion
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. | |
promo_cd | string | 30 | Unique identifier for promotion | |
promo_desc | string | 200 | Description of promotion. Translatable. | |
promo_plan_set_no | int | 8 | Unique identifier of promotional plan set that this promotion is associated with | |
no_of_uses | string | 8 | Maximum number of possible usage of that Promotion before it gets expired. If this parameter is set then,start_date and end_date need not be set. | |
start_date | string | 10 | Start date of given Promotion. The date format must be yyyy-mm-dd. If this parameter is set then no_of_uses need not be set. If only this parameter is set and end_date is not set, then system assumes that Promotion will never expire and it becomes valid from given start_date. | |
exp_date | string | 10 | Expiry date of given Promotion. The date format must be yyyy-mm-dd. If this parameter is set then no_of_uses need not be set. If this is set with start_date then it means that promotion will be valid between these two dates. | |
locale_no | int | 38 | Aria-assigned unique identifier of the locale used for translations. | |
OR | ||||
locale_name | string | 32 | Name of the locale to which the translations belong. |
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. |
promo_cd | string | Unique identifier for promotion |