Admin API reference
/v4 API
/- Register a bulk promo code definition status update job
Batch create promo code definitions
Batch update draft promo code definitions
Batch delete draft promo code definitions
Retrieve a bulk promo code definition status update job
Register a bulk promo cod...
Submit an asynchronous job to activate or archive multiple promo code definitions.
You can:
- Activate draft codes to make them live (the system generates the codes).
- Archive active codes to retire them. You cannot supply custom codes here, use the single activation endpoint for that.
You will receive a job ID to check the progress of your update.
Security
ZephrHmacHttp
- https://demo.api.zephr.comhttps://demo.api.zephr.com/zephr/integration/promo-codes/v1/definitions/status-update-jobs
{ "promo_code_definition_updates": [ { … }, { … } ] }
Response
{ "job_id": "7b07e5e2-8eb8-4c10-a85f-529c0b3385b6", "message": "Accepted" }