Generating a Random Coupon using an API

Overview

FastSpring has the ability to generate and retrieve new codes for an existing random coupon via an API. The random coupon set is identified by its custom prefix, which must first be specified in SpringBoard when creating the coupon. A maximum of 10,000 coupons may be randomly generated each day.

Generating a Random Coupon via an API

The FastSpring API follows the REST principles as much as possible. The endpoint format is:

POST /company/{company}/coupon/{prefix}/generate

The XML response is:

<couponCode>
  <code/>
</couponCode>

For more information, please refer to our API documentation at Github.

Have more questions? Submit a request

Comments

Powered by Zendesk