Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
API Reference

Create a list of coupon codes

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int64
required

Client ID

int64
required

Coupon block ID

Form Data
codes
array of strings
required

List of coupon codes

codes*
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

400

The request parameters are invalid.

404

The coupon block could not be found. Ensure that the required parameters such as "couponBlockId" are correct and the coupon block exists.

409

The coupon block is not assigned to the indicated client. Ensure that "clientId" and "couponBlockId" are correct and that the "couponBlockId" is assigned to the indicated client.

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/vnd.optivo.broadmail.v1+json