Create coupon.Copy Pagepost https://api.wrappedgiftcards.com/api/WebStoreCoupon/CreateCode must be unique on the account. DiscountType is Percent or FixedAmount.Recent RequestsLog in to see full request historyTimeStatusUser Agent Retrieving recent requests…LoadingLoading…Body Paramsapplication/jsontext/jsonapplication/*+jsonThe coupon to create.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 created coupon. 400Duplicate Code, invalid DiscountType/Status, or Amount not greater than zero. 401Missing or invalid x-api-key. 404Account not found.Updated about 1 month ago Did this page help you?YesNo