Create couponCopy Pagepost https://api.frisbii.com/v1/couponRecent RequestsLog in to see full request historyTimeStatusUser Agent Retrieving recent requests…LoadingLoading…Body Paramsnamestringrequiredlength ≥ 1Internal name for the coupon.handlestringrequiredlength ≥ 1Per account unique handle for the couponcodestringrequiredlength ≥ 1The coupon code. Maximum 100 characters.discountstringrequiredlength ≥ 1Discount to use for couponmetadataobjectCustom metadata.metadata objectall_plansbooleanWhether all plans are eligible for this coupon. Defaults to false.falsetruefalseeligible_plansarray of stringsIf not all_plans are set to true, then the set of eligible plan handles must be defined.eligible_plansADD stringmax_redemptionsint32≥ 1Optional maximum number of times this coupon can be redeemed.valid_untilstringOptional date and time until which the coupon is redeemable. Date and time on the form yyyy-MM-dd, yyyyMMdd, yyyy-MM-ddTHH:mm and yyyy-MM-ddTHH:mm:ss.redemption_strategystringenumThis field determines the coupon redemption strategy for applying coupons. It accepts the following values: once_per_customer, once_per_plan, once_per_subscription. If no 'redemption strategy' value is provided, the default strategy of 'once_per_customer' will be applied.once_per_customeronce_per_customeronce_per_planonce_per_subscriptionAllowed:once_per_customeronce_per_planonce_per_subscriptionResponses 200Successful operation 400Invalid request, see error codes at https://api.frisbii.com/v1/error_codes 401None or invalid credentials provided in access to secured resource 403Not authorized to perform resource operation 404Resource or referenced resource not found, see error codes at https://api.frisbii.com/v1/error_codes 429Request limiting exceeded, request rate or concurrent requests, see error code 122 and 123 500Internal service error, error is reported automatically to FrisbiiUpdated 19 days ago