Admin API reference
/Dynamic offer promo code definitions
v4 Admin API reference
Account
Account User
Admin User
Bundle
Cache Configurations
Cache Management
Company
Component Library
Configuration
Credit
Decision Engine
Dynamic offer promo code redemption
Email Templates
Entitlement
External Templates
Feature Rules
Form
Gifts
Grants
Health Check
Meter
Pages
Products
Request Rules
Request Rules Version
Session
Static Items
Subscription
System Resources
Third Party Authentication
User Export
User Schema
Users
V4 Session
Webhook
Create up to 50 promo code definitions in one request. Definitions are saved in the draft status, and no actual codes are generated yet.
Only include recognized fields, unknown fields will be rejected. We validate everything before saving, so all valid items succeed together or none do. You will only see failed items in the response.
When ready, use the status-update endpoint to activate your definitions and generate the actual promo codes.
Security
ZephrHmacHttp
- https://demo.api.zephr.comhttps://demo.api.zephr.com/zephr/integration/promo-codes/v1/definitions/batch
{ "promo_code_definitions": [ { … }, { … } ] }
OK. Your request is being processed. Review the response to see which items completed and which need attention.
Response
{ "message": "2 promo codes have been created successfully.", "failures": [] }