List Coupons

List all of the coupons for a given product.

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

Product Coupon

Example Request


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

Example Response


{
  "success": true,
  "response": [{
    "id": 4227,
    "coupon": "56604810a6990",
    "description": "56604810a6dcd",
    "discount_type": "percentage",
    "discount_amount": 0.5,
    "discount_currency": "USD",
    "allowed_uses": 3,
    "times_used": 2,
    "expires": "2020-12-03 00:00:00",
    "product_id": "16970"
  }]
}