HomeProduct DocsAPI ReferenceChangelog
RecurlyAPI GuidesRecurly.jsWebhooksAPI ReferenceSupportBook demo
API Reference

Generate Unique Codes

Create unique codes for a bulk coupon. A bulk coupon can have up to 100,000 unique codes (or your site's configured limit). The endpoint can be called multiple times to create the number of unique codes you need.

View Unique Codes

The response will include the location of the unique codes as link in the header:

https://your-subdomain.recurly.com/v2/coupons/savemore/unique_coupon_codes?cursor=1792526747654056328&per_page=200
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Unique code to identify and redeem the coupon.

Body Params
integer

Number of unique codes you want to generate for the bulk coupon. Must be between 1 and 100,000 (or your site's configured limit).

Headers
string
enum
Defaults to application/text

Generated from available response content types

Allowed:
Responses

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/text
application/xml