coupon.listBanks

‹ BACK TO API PAGE


Description

Purpose of this API is to allow a marketer or ecommerce system obtain a list of available coupon banks for their EMS account.

Arguments

None

Response

Field Description Example
bank_id The identification number of the coupon bank 19
bank_name The name assigned to the coupon bank Welcome coupons
bank_description The description of the coupon bank Coupons used for welcome series

Response Codes

Response Code Response Text Description
678 Success List of coupon banks successfully returned
684 No data available No coupon banks or otherwise unsuccessful call

Example Post

<methodCall>

<methodName>coupon.listBanks</methodName>

</methodCall>

Example Response

<methodResponse>

<item>

<methodName>coupon.listBanks</methodName>

<item>

<responseCode>678</responseCode>

<responseText>Success</responseText>

<responseData>

<bank_id>18</bank_id>

<bank_name>Code Bank 1</bank_name>

<bank_description>discount set</bank_description>

</responseData>

</item>

</item>

</methodResponse>


Back to API Reference Guide