Update coupon.Copy Pageput https://api.wrappedgiftcards.com/api/WebStoreCoupon/Update/{id}Replaces the coupon's writable fields. Code can be changed but must remain unique on the account.Recent RequestsLog in to see full request historyTimeStatusUser Agent Retrieving recent requests…LoadingLoading…Path ParamsidstringrequiredCoupon identifier.Body Paramsapplication/jsontext/jsonapplication/*+jsonReplacement values.Create-coupon or update-coupon request.codestringrequiredlength ≥ 1Redeemable code. Uppercased server-side.discountTypestringrequiredlength ≥ 1Discount type: Percent or FixedAmount.amountdoublerequiredDiscount amount. Percent value or fixed amount in the account's currency.descriptionstring | nullOptional description.appliesToProductIdsarray of strings | nullProduct IDs the coupon is restricted to. Empty or omitted means all products.appliesToProductIdsADD stringminimumQuantityint32Minimum number of gift cards in the order (default 1).minimumOrderAmountdouble | nullMinimum order total for the coupon to apply. Omit for no minimum.statusstring | nullStatus: Active, Disabled, Expired or Deleted. Defaults to Active.HeadersacceptstringenumDefaults to application/jsonGenerated from available response content typesapplication/jsontext/jsontext/plainAllowed:application/jsontext/jsontext/plaincontent-typestringenumDefaults to application/jsonGenerated from available request content typesapplication/*+jsonapplication/jsontext/jsonAllowed:application/*+jsonapplication/jsontext/jsonResponses 200The updated coupon. 400Duplicate Code, invalid DiscountType/Status, or Amount not greater than zero. 401Missing or invalid x-api-key. 404Coupon not found (or has been deleted).Updated about 1 month ago Did this page help you?YesNo