How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Optimizely Coupon blocks API

Manage coupon blocks that organize coupon codes

Optimizely Coupon blocks API is one of 420 APIs that Optimizely publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Coupon blocks. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 11 operations across 5 paths, and defines 9 schemas. It is described by OpenAPI 3.2.0, at version 1.

Requests are made against a single base URL, https://api.campaign.episerver.net/rest.

11 operations 5 paths 9 schemas 3 DELETE5 GET3 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1
Base URL
https://exp.mcp.opal.optimizely.com/mcp
Authentication
API Key
Resource Areas
1

Authentication & Security 1

Optimizely Coupon blocks API declares 1 security scheme for authenticating requests. An API key is passed in the header as Authorization (Authorization).

Paths & Operations 11

Across 5 paths, the API surfaces 11 operations — 3 DELETE, 5 GET, 3 POST. Each is listed below with its method, path, parameters, and response codes.

Coupon blocks 11

Manage coupon blocks that organize coupon codes

GET
/{clientId}/couponblocks
Get information about all coupon blocks
selectCouponBlocks 3 params → 200400
POST
/{clientId}/couponblocks
Create a new coupon block
createCouponBlock 1 param body → 201
GET
/{clientId}/couponblocks/{couponBlockId}
Get information about a coupon block
getCouponBlock 2 params → 200404409
DELETE
/{clientId}/couponblocks/{couponBlockId}
Delete a coupon block
deleteCouponBlock 2 params → 204404409
GET
/{clientId}/couponblocks/{couponBlockId}/codes
Get information about coupon codes
selectCouponCodes 9 params → 200400404409
POST
/{clientId}/couponblocks/{couponBlockId}/codes
Create a list of coupon codes
createCouponCodes 2 params body → 201400404409
DELETE
/{clientId}/couponblocks/{couponBlockId}/codes
Delete coupon codes
deleteAllCouponCodes 3 params → 204404409
GET
/{clientId}/couponblocks/{couponBlockId}/codes/{code}
Get information about a coupon code
getCouponCode 3 params → 200404409
POST
/{clientId}/couponblocks/{couponBlockId}/codes/{code}
Invalidate a coupon code
markAsUsed 3 params → 200404409
DELETE
/{clientId}/couponblocks/{couponBlockId}/codes/{code}
Delete a coupon code
deleteCouponCode 3 params → 204404409
GET
/{clientId}/couponblocks/{couponBlockId}/assignedmailings
Get all mailing IDs a coupon block is assigned to
getAllAssignedMailings 2 params → 200404409

Schemas 9

The contract defines 9 schemas that model the data the API accepts and returns. The most detailed are RestCouponBlock (8 properties), RestCouponCode (8 properties), RestCouponBlockStreamingCollection (5 properties), RestCouponCodeStreamingCollection (5 properties). Each schema is shown below with its type and property counts.

RestCouponCodeStreamingCollection
object
5 properties
RestCouponCode
object
8 properties
RestCouponBlockCounter
object
Counter of coupon codes
3 properties
RestApiLink
object
2 properties
CouponBlockRequestData
object
3 properties 2 required
CouponCodeRequestData
object
1 property 1 required
RestCouponBlockStreamingCollection
object
5 properties
RestAssignedMailings
object
1 property
RestCouponBlock
object
8 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

optimizely-coupon-blocks-api-openapi.yml Raw ↑

Other APIs Optimizely publishes across the network.

Optimizely Remote MCP Server — Experimentation
Optimizely Assets API
Optimizely Attributes API
Optimizely Audiences API
Optimizely Campaigns API
Optimizely Catalog Entries API
Optimizely Catalog Entry Relations API
Optimizely Catalog Nodes API
Optimizely Catalogs API
Optimizely Content API
Optimizely Content Types API
Optimizely Customers API
Where this information came from

This is an independent, third-party profile of Optimizely Coupon blocks API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.