Edit Coupons For Admin
Edit Coupons For Admin.
Request
Request header:
PUT https://api.ipaymy.com/v2/admin/coupon/:coupon_id
Host: api.ipaymy.com
Accept: application/json
Path Parameters:
coupon_id:
- Description: Unique coupon id
- Type: number
Response
Response body:
{
"data": "",
"error": 0
}
Response codes:
- 200: Good stuff, and the response body should be easy to parse.
- 422: Typically malformed JSON, such as an integer in place of the required alphanumeric string, or a missing key. Check the response body for further details.