Coupon Massive Generation

Generates a massive amount of coupons

Request object has the following properties:

AttributeTypeDescription
utmSourcestringCoupon UTM Source
utmCampaignstringCoupon UTM Campaign
couponCodestringCoupon Code
isArchivedbooleanField that archive or unarchive a Coupon
maxItemsPerClientintegerThe customer may purchase up a number of products, using this coupon in one or more purchases
expirationIntervalPerUsestringRenew each coupon usage after a number of days

Request body example

{
  "utmSource": "cupom",
  "utmCampaign": null,
  "couponCode": "ctest",
  "isArchived": false,
  "maxItemsPerClient": 1,
  "expirationIntervalPerUse": "00:00:00"
}

Response object has the following properties:

AttributeTypeDescription
couponstringGenerated Coupons

Response body

[
    "ctest-wzcp5lwt7yz1s7n",
    "ctest-rb6smoassp2xe71",
    "ctest-vpw84ag9tfi8khv",
    "ctest-ne26wgmidp5ctht",
    "ctest-127ng0ox09tho5l",
    "ctest-qsowch8c8s7jipo",
    "ctest-6acbsst6zpss75l",
    "ctest-0bksc2tzh5ai946",
    "ctest-4jjx8u2rrqj4ck9",
    "ctest-hxiox1isdp6padl"
]
Language
Authentication
URL
Click Try It! to start a request and see the response here!