Delete Coupon

Delete a given coupon and prevent it from being further used.

  • product_id: int string; required. The id of the vendor’s product, or product purchase.
  • coupon_code: string; required. The code of the coupon.

Product Coupon

Example Request


curl -X POST \
     -d 'vendor_id=123' \
     -d 'vendor_auth_code=123:456abc...' \
     -d 'product_id=499531' \
     -d 'coupon_code=XMAS10' \
     https://vendors.paddle.com/api/2.0/product/delete_coupon

In-app Purchase Coupon

Example Request


curl -X POST \
     -d 'vendor_id=123' \
     -d 'vendor_auth_code=123:456abc...' \
     -d 'product_id=499531.1' \
     -d 'coupon_code=XMAS10' \
     https://vendors.paddle.com/api/2.0/product/delete_coupon

Example Response


{
    "success": true
}
Was this page helpful?