Apply Discount Coupon

Method : POST

Base URL :

API Endpoint : /v2/applycoupon

All requests are POST and sent to You will retrieve class discount applied or not.

Post parameters

apikeyrequiredYour api keystring
class_idrequiredClass idinteger
discount_coderequiredClass discount codestring
formatoptionalResponse data format- xml for XML response, default JSON response

Response XML Example

Success Response

<rsp error="0">

Error Response

<rsp status="error">
  <message>error message</message >

Response JSON Example

Success Response


Error Response

   "error":"error message"